|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.lang.acl.ConversationList
public class ConversationList
This class represents a list of conversations that an agent is
currently carrying out and allows creating a MessageTemplate
that matches only messages that do not belong to any of these
conversations.
| Field Summary | |
|---|---|
protected int |
cnt
|
protected Agent |
myAgent
|
| Constructor Summary | |
|---|---|
ConversationList(Agent a)
Construct a ConversationList to be used inside a given agent. |
|
| Method Summary | |
|---|---|
void |
clear()
Deregister all conversations. |
protected java.lang.String |
createConversationId()
|
void |
deregisterConversation(java.lang.String convId)
Deregister a conversation with a given ID. |
MessageTemplate |
getMessageTemplate()
Return a template that matches only messages that do not belong to any of the conversations in this list. |
java.lang.String |
registerConversation()
Register a conversation creating a new unique ID. |
void |
registerConversation(java.lang.String convId)
Register a conversation with a given ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Agent myAgent
protected int cnt
| Constructor Detail |
|---|
public ConversationList(Agent a)
| Method Detail |
|---|
public java.lang.String registerConversation()
public void registerConversation(java.lang.String convId)
public void deregisterConversation(java.lang.String convId)
public void clear()
public MessageTemplate getMessageTemplate()
protected java.lang.String createConversationId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||