fipaos.agent.conversation.standard.protocol
Class RuntimeProtocol

fipaos.agent.conversation.standard.ConversationImpl
  |
  +--fipaos.agent.conversation.standard.protocol.RuntimeProtocol

public class RuntimeProtocol
extends ConversationImpl
implements Serializable

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




Inner classes inherited from class fipaos.agent.conversation.standard.ConversationImpl
ConversationImpl.ConversationProtocol

Fields inherited from class fipaos.agent.conversation.standard.ConversationImpl
AGENT_ACTION_REQ, CONVERSATION_END, NO_AGENT_ACTION_REQ, WAIT_BEFORE_END

Constructor Summary
RuntimeProtocol(String protocol_name, AgentID agent_id, 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, getNextMessages, getNextPerformatives, getObjectID, getProtocol, getSender, getSenderAID, getState, getTimeOut, getTimeStamp, main, testAddMessages, testAddMessages, testPopulate, toString

Constructor Detail

RuntimeProtocol

public RuntimeProtocol(String protocol_name, AgentID agent_id, 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