fipaos.platform.df
Class StandardDFSubscriptionFactory


public class StandardDFSubscriptionFactory
implements DFSubscriptionFactory

This is the standard implementation of the SubscriptionFactory. It will
return the standard implementations of SubscriptionManager and
DFListenerManager.


Inner Class Summary
 public classStandardDFSubscriptionFactory.IdleTask
           

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 will instansiate a new SubscriptionManagerTask and return it.

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 will instansiate a new SubscriptionManagerTask and return it.
Returns: newly created SubscriptionManagerTask