|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CommunicativeAct | |
---|---|
brahms.communication |
Uses of CommunicativeAct in brahms.communication |
---|
Methods in brahms.communication that return CommunicativeAct | |
---|---|
static CommunicativeAct |
CommunicativeActFactory.createCommunicativeAct(IActiveInstance sender,
IActiveInstance receiver,
IActiveInstance replyTo,
Performative performative,
boolean generateConversationID,
java.lang.String action,
java.lang.String subject,
IContext ctx)
Creates a new communicative act object populated with the specified information |
static CommunicativeAct |
CommunicativeActFactory.createCommunicativeAct(IActiveInstance sender,
IActiveInstance receiver,
IActiveInstance replyTo,
Performative performative,
java.lang.String conversationID,
java.lang.String action,
java.lang.String subject,
IContext ctx)
Creates a new communicative act object populated with the specified information |
static CommunicativeAct |
CommunicativeActFactory.createCommunicativeAct(IActiveInstance sender,
IActiveInstance receiver,
Performative performative,
boolean generateConversationID,
java.lang.String action,
java.lang.String subject,
IContext ctx)
Creates a new communicative act object populated with the specified information |
static CommunicativeAct |
CommunicativeActFactory.createCommunicativeAct(IActiveInstance sender,
IActiveInstance receiver,
Performative performative,
java.lang.String conversationID,
java.lang.String action,
java.lang.String subject,
IContext ctx)
Creates a new communicative act object populated with the specified information |
protected static CommunicativeAct |
CommunicativeActFactory.createCommunicativeAct(Performative performative,
java.lang.String action,
IContext ctx)
Creates an empty communicative act object for which only the Performative and action are specified as the minimum properties to define the name of the CommunicativeAct. |
CommunicativeAct |
AbstractCommunicationAgent.dequeueIncomingMessage()
Removes the first CommunicativeAct from the incoming queue and blocks the calling thread if no messages are queued. |
CommunicativeAct |
AbstractCommunicationAgent.dequeueIncomingMessage(boolean block)
Removes the first CommunicativeAct from the incoming queue and blocks the calling thread if no data is queued and block = true or returns null if block = false. |
static CommunicativeAct |
CommunicativeActFactory.populateCommunicativeAct(CommunicativeAct ca,
IActiveInstance sender,
IActiveInstance receiver,
IActiveInstance replyTo,
Performative performative,
java.lang.String conversationID,
java.lang.String action,
java.lang.String subject,
IContext ctx)
Populates the specified communicative act with the specified information |
Methods in brahms.communication with parameters of type CommunicativeAct | |
---|---|
static java.lang.String |
CommunicativeActFactory.createConversationID(CommunicativeAct ca)
Generates a conversation id for a CommunicativeAct. |
void |
AbstractCommunicationAgent.enqueueIncomingMessage(CommunicativeAct message)
Adds the specified CommunicativeAct to the incoming message queue. |
void |
IMessageHandler.onMessage(CommunicativeAct message)
Notification of new CommunicativeAct to be processed by this IMessageHandler. |
abstract void |
AbstractCommunicationAgent.onMessage(CommunicativeAct message)
Processes the specified message received by this agent. |
void |
IReplyHandler.onReply(AbstractCommunicationAgent agent,
CommunicativeAct reply,
CommunicativeAct inReplyTo)
Notifies this reply handler that the specified reply was received in reply to the specified CommunicativeAct for which this reply handler was registered. |
static CommunicativeAct |
CommunicativeActFactory.populateCommunicativeAct(CommunicativeAct ca,
IActiveInstance sender,
IActiveInstance receiver,
IActiveInstance replyTo,
Performative performative,
java.lang.String conversationID,
java.lang.String action,
java.lang.String subject,
IContext ctx)
Populates the specified communicative act with the specified information |
void |
AbstractCommunicationAgent.removeReplyHandler(CommunicativeAct message)
Removes the IReplyHandler that was registered for the specified CommunicativeAct. |
void |
AbstractCommunicationAgent.sendMessage(CommunicativeAct message,
IActiveInstance recipient)
Sends the specified message to the specified recipient. |
void |
AbstractCommunicationAgent.sendMessage(CommunicativeAct message,
IActiveInstance recipient,
IReplyHandler replyHandler)
Sends the specified message to the specified recipient and has responses for the specified message sent to the specified reply handler. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |