fipaos.platform.df
Interface SubscriptionManager

All Known Implementing Classes:
SubscriptionManagerTask

public interface SubscriptionManager

All tasks that handle DF subscription must implement this interface. It's
used by the DFSubscriptionFactory to give the DF task that handles
subscriptions.


Method Summary
 voidDFUpdate(AgentManagementAction ama)
          Invoked whenever an update to the DF's database has SUCCESSFULLY completed, causing
notification messages to be sent to subscribed Agents
 voidhandleOther(Conversation conv)
           
 voidnewSubscriber(fipaos.ont.fipa.ACL acl)
          Causes a SubscriptionHandlerTask to be instantiated to deal with the subscription
request from another Agent.

Method Detail

DFUpdate

public void DFUpdate(AgentManagementAction ama)
Invoked whenever an update to the DF's database has SUCCESSFULLY completed, causing
notification messages to be sent to subscribed Agents
Parameters:
ama - The AgentManagementAction associated with the event

handleOther

public void handleOther(Conversation conv)

newSubscriber

public void newSubscriber(fipaos.ont.fipa.ACL acl)
Causes a SubscriptionHandlerTask to be instantiated to deal with the subscription
request from another Agent.
Parameters:
acl - first message in the conversation