| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be implemented by all CM implementations.
Method Summary | |
Conversation | addConversation(String protocol) Method to create a new conversation given a protcol, and add it to the active list |
boolean | addProtocol(String protocol_name, String protocol_defn) Adds a new protocol to the CM - the CM will attempt to learn the protocol and will cache it for future use. |
Conversation | getConversation(String conversation_id) Retrieves an active/previous Conversation that an Agent has had |
boolean | hasActiveConversations() Indicates whether an Agent has any conversations in active state |
boolean | hasProtocol(String protocol) Indicates whether the specified protocol is already in the cache, i.e. |
void | removeConversation(String id) Removes the given conversation from the ConversationManager - this may be necessary in order to end conversations that have no defined end-point |
Methods inherited from interface fipaos.mts.MessageReceiver |
receiveMessage, setMessageSender |
Methods inherited from interface fipaos.mts.MessageSender |
sendMessage, setMessageReceiver, shutdown |
Method Detail |
public Conversation addConversation(String protocol)
throws UnknownProtocolException
public boolean addProtocol(String protocol_name, String protocol_defn)
public Conversation getConversation(String conversation_id)
throws InvalidConversationIDException
public boolean hasActiveConversations()
public boolean hasProtocol(String protocol)
public void removeConversation(String id)
throws InvalidConversationIDException
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |