fipaos.platform.df
Interface DFSubscriptionFactory

All Known Implementing Classes:
StandardDFSubscriptionFactory

public interface DFSubscriptionFactory

This interface must be implemented by all factories that provide
SubscriptionManagers and DFListenerManagers for DFs. This interface is used
by the DF to get a factory. fipaos-factory.properties file
will define what implementation of this interface is used runtime.


Method Summary
 DFListenerManagergetDFListenerManager(DFListener df_listener, AgentID df, Task idle_task)
          This method needs to return the DFListenerManager that is responsible for
subscribing (used by DF GUIs).
 TaskgetIdleTask()
          This method needs to return the an idle task that can be set
as the listener task for the DF GUI Agent
 SubscriptionManagergetSubscriptionManager()
          This method needs to return the SubscriptionManager that is responsible
for receiving updates.

Method Detail

getDFListenerManager

public DFListenerManager getDFListenerManager(DFListener df_listener, AgentID df, Task idle_task)
This method needs to return the DFListenerManager that is responsible for
subscribing (used by DF GUIs).
Returns: the instansiated and initialised DFListenerManager
(task)

getIdleTask

public Task getIdleTask()
This method needs to return the an idle task that can be set
as the listener task for the DF GUI Agent
Returns: the idle task that will be the listener task

getSubscriptionManager

public SubscriptionManager getSubscriptionManager()
This method needs to return the SubscriptionManager that is responsible
for receiving updates.
Returns: the appropriate SubscriptionManager
implementation (task)