Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

sajas.lang.acl
Class ConversationList
java.lang.Object
  sajas.lang.acl.ConversationList
All Implemented Interfaces:
jade.util.leap.Serializable, Serializable

public class ConversationList
extends Object
implements jade.util.leap.Serializable
Note: this class has been re-implemented to redirect the use of the agent class to SAJaS versions.
See Also:
ConversationList

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 String
createConversationId()
void
deregisterConversation(String convId)
          Deregister a conversation with a given ID.
jade.lang.acl.MessageTemplate
getMessageTemplate()
          Return a template that matches only messages that do not belong to any of the conversations in this list.
String
registerConversation()
          Register a conversation creating a new unique ID.
void
registerConversation(String convId)
          Register a conversation with a given ID.
String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Field Detail
cnt
protected int cnt

myAgent
protected Agent myAgent
Constructor Detail
ConversationList
public ConversationList(Agent a)
Construct a ConversationList to be used inside a given agent.
Method Detail
registerConversation
public String registerConversation()
Register a conversation creating a new unique ID.

registerConversation
public void registerConversation(String convId)
Register a conversation with a given ID.

deregisterConversation
public void deregisterConversation(String convId)
Deregister a conversation with a given ID.

clear
public void clear()
Deregister all conversations.

getMessageTemplate
public jade.lang.acl.MessageTemplate getMessageTemplate()
Return a template that matches only messages that do not belong to any of the conversations in this list.

toString
public String toString()
Overrides:
toString in class Object

createConversationId
protected String createConversationId()

Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Java API documentation generated with DocFlex/Doclet 1.6.1 using JavadocPro template set.
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc, which is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com