|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object brahms.communication.CommunicativeActFactory
public class CommunicativeActFactory
CommunicativeActFactory is a factory providing methods to create new CommunicativeActs.
Constructor Summary | |
---|---|
CommunicativeActFactory()
|
Method Summary | |
---|---|
static CommunicativeAct |
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 |
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 |
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 |
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 |
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. |
static java.lang.String |
createConversationID(CommunicativeAct ca)
Generates a conversation id for a CommunicativeAct. |
static CommunicativeAct |
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 inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommunicativeActFactory()
Method Detail |
---|
public static final CommunicativeAct createCommunicativeAct(IActiveInstance sender, IActiveInstance receiver, IActiveInstance replyTo, Performative performative, boolean generateConversationID, java.lang.String action, java.lang.String subject, IContext ctx) throws ExternalException
sender
- the sender of the messagereceiver
- the receiver of the messagereplyTo
- the actor to reply to when replying to the messageperformative
- the message typegenerateConversationID
- generate a conversation-id for the messageaction
- the action to be taken by the receiversubject
- the subject of the messagectx
- the IContext specifying contextual information necessary to interact with agents and objects.
ExternalException
- if an unexpected internal error occurs.public static final CommunicativeAct createCommunicativeAct(IActiveInstance sender, IActiveInstance receiver, IActiveInstance replyTo, Performative performative, java.lang.String conversationID, java.lang.String action, java.lang.String subject, IContext ctx) throws ExternalException
sender
- the sender of the messagereceiver
- the receiver of the messagereplyTo
- the actor to reply to when replying to the messageperformative
- the message typeconversationID
- the conversation-id for the messageaction
- the action to be taken by the receiversubject
- the subject of the messagectx
- the IContext specifying contextual information necessary to interact with agents and objects.
ExternalException
- if an unexpected internal error occurs.public static final CommunicativeAct createCommunicativeAct(IActiveInstance sender, IActiveInstance receiver, Performative performative, boolean generateConversationID, java.lang.String action, java.lang.String subject, IContext ctx) throws ExternalException
sender
- the sender of the messagereceiver
- the receiver of the messageperformative
- the message typegenerateConversationID
- generate a conversation-id for the messageaction
- the action to be taken by the receiversubject
- the subject of the messagectx
- the IContext specifying contextual information necessary to interact with agents and objects.
ExternalException
- if an unexpected internal error occurs.public static final CommunicativeAct createCommunicativeAct(IActiveInstance sender, IActiveInstance receiver, Performative performative, java.lang.String conversationID, java.lang.String action, java.lang.String subject, IContext ctx) throws ExternalException
sender
- the sender of the messagereceiver
- the receiver of the messageperformative
- the message typeconversationID
- the conversation-id for the messageaction
- the action to be taken by the receiversubject
- the subject of the messagectx
- the IContext specifying contextual information necessary to interact with agents and objects.
ExternalException
- if an unexpected internal error occurs.protected static final CommunicativeAct createCommunicativeAct(Performative performative, java.lang.String action, IContext ctx) throws ExternalException
performative
- the message typeaction
- the action to be taken by the receiverctx
- the IContext specifying contextual information necessary to interact with agents and objects.
ExternalException
- if an unexpected internal error occurs.public static final CommunicativeAct 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) throws ExternalException
ca
- the CommunicativeAct to be populatedsender
- the sender of the messagereceiver
- the receiver of the messagereplyTo
- the actor to reply to when replying to the messageperformative
- the message typeconversationID
- the conversation-id for the messageaction
- the action to be taken by the receiversubject
- the subject of the messagectx
- the IContext specifying contextual information necessary to interact with agents and objects.
ExternalException
- if an unexpected internal error occurs.public static final java.lang.String createConversationID(CommunicativeAct ca) throws ExternalException
ca
- the CommunicativeAct for which to generate a conversation id
ExternalException
- in case of an internal error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |