fipaos.agent.conversation
Interface ConversationListener

All Known Implementing Classes:
FIPAOSAgent, TaskManager

public interface ConversationListener


Interface that objects may implement to be notified of changes in the state of
Conversations by the Planner Scheduler.


Method Summary
 void notify(Conversation conversation)
          May be called to notify of a single conversation that is in need of intervention.
 void notify(java.util.Enumeration conversations)
          May be called to notify of a number of conversations that are in need of intervention.
 void notifyMessageInEndedConversation(Message msg)
          Indicates that the given Message arrived for a completed Conversation
 void notifyMessageUndeliverable(Message msg)
          Indicates that the given Message was not deliverable
 void setMessageSender(MessageSender ms)
          Sets the MessageSender that the ConversationListener should use to forward messages
 

Method Detail

notify

public void notify(Conversation conversation)
May be called to notify of a single conversation that is in need of intervention.

notify

public void notify(java.util.Enumeration conversations)
May be called to notify of a number of conversations that are in need of intervention.

setMessageSender

public void setMessageSender(MessageSender ms)
Sets the MessageSender that the ConversationListener should use to forward messages

notifyMessageInEndedConversation

public void notifyMessageInEndedConversation(Message msg)
Indicates that the given Message arrived for a completed Conversation

notifyMessageUndeliverable

public void notifyMessageUndeliverable(Message msg)
Indicates that the given Message was not deliverable