fipaos.agent.conversation.standard.protocol
Class RuntimeProtocol

java.lang.Object
  |
  +--fipaos.agent.conversation.standard.ConversationImpl
        |
        +--fipaos.agent.conversation.standard.protocol.RuntimeProtocol
All Implemented Interfaces:
java.lang.Cloneable, Conversation, DatabaseObject, java.io.Serializable

public class RuntimeProtocol
extends ConversationImpl
implements java.io.Serializable

Specialisation of the Conversation class to deal with conversations that have protocols that need to be created at runtime

See Also:
Serialized Form

Inner classes inherited from class fipaos.agent.conversation.standard.ConversationImpl
ConversationImpl.ConversationProtocol
 
Fields inherited from class fipaos.agent.conversation.standard.ConversationImpl
_agent_id, _protocol, _protocol_tree, AGENT_ACTION_REQ, CONVERSATION_END, NO_AGENT_ACTION_REQ, WAIT_BEFORE_END
 
Constructor Summary
RuntimeProtocol(java.lang.String protocol_name, AgentID agent_id, ConversationImpl.ConversationProtocol tree)
          Constructs a new runtime protocol object with the specified parameters.
 
Methods inherited from class fipaos.agent.conversation.standard.ConversationImpl
addMessage, clone, getACL, getConversation, getConversation, getConversationID, getEnvelope, getFilledInACL, getLatestMessageIndex, getMessage, getNextMessages, getNextPerformatives, getObjectID, getProtocol, getSender, getSenderAID, getState, getTimeOut, getTimeStamp, main, testAddMessages, testAddMessages, testPopulate, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuntimeProtocol

public RuntimeProtocol(java.lang.String protocol_name,
                       AgentID agent_id,
                       ConversationImpl.ConversationProtocol tree)
Constructs a new runtime protocol object with the specified parameters. This class is used for dynamic protocol learning where we need to construct a new conversation using a protocol that we have just learned.
Parameters:
protocol_name - The name of the protocol
agent_id - The id of the agent that owns this conversation
tree - The protocol tree