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
 voidnotify(Conversation conversation)
          May be called to notify of a single conversation that is in need of intervention.
 voidnotify(Enumeration conversations)
          May be called to notify of a number of conversations that are in need of intervention.
 voidnotifyMessageInEndedConversation(Message msg)
          Indicates that the given Message arrived for a completed Conversation
 voidnotifyMessageUndeliverable(Message msg)
          Indicates that the given Message was not deliverable
 voidsetMessageSender(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(Enumeration conversations)
May be called to notify of a number of conversations that are in need of intervention.

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

setMessageSender

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