Agent communication / Relay subjects
Todd Wright
twright at bbn.com
Wed Mar 26 16:49:49 EDT 2008
Your usage sounds good. The relay "content" can be a data structure with both
"subject" and "body" fields.
Todd
Dimitrios Traskas wrote:
> Hi to all,
>
> I have a question about best practices in regards with Relays and Agent
> communication. Agent A sends a message to Agent B and expects replies of
> three different types (CONFIRM, REFUSE, FAIL). These in a sense are
> three Verbs that I can use for the Relay communication. The CONFIRM and
> REFUSE messages should be sent with an object attached that can provide
> some information about the reasons of confirmation or refusal. In an
> analogy we have an email with subject CONFIRM or REFUSE and a body of
> text that gives further explanations.
>
> At the moment I am encapsulating within that body the subject of the
> Relay message and just extract it when the message is received. Is there
> any other way to have a subject and body for Relay messages? It would be
> useful to hear some recommendations and examples from other people.
>
>
>
> Many Thanks
> Dimitris
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cougaar-developers mailing list
> Cougaar-developers at cougaar.org
> http://cougaar.org/mailman/listinfo/cougaar-developers
More information about the Cougaar-developers
mailing list