fipaos.platform.df
Interface DFListenerManager

All Known Implementing Classes:
DFListenerTask

public interface DFListenerManager


Method Summary
 voidinit(DFListener listener, AgentID df, Task idle_task)
          Initialises the DFListenerManager - should be invoked BEFORE newTask() is invoked on an instance of DFListenerManager
 voidstopListening()
          When invoked, causes the subscription with the DF to be cancelled
 booleansubscribedOK()
          Indicates if this DFListenerTask has been succesfull in subscribing

Method Detail

init

public void init(DFListener listener, AgentID df, Task idle_task)
Initialises the DFListenerManager - should be invoked BEFORE newTask() is invoked on an instance of DFListenerManager
Parameters:
listener - Object to receive DF event notification
df - DF to monitor
idle_task - listener task for the Agent

stopListening

public void stopListening()
When invoked, causes the subscription with the DF to be cancelled

subscribedOK

public boolean subscribedOK()
Indicates if this DFListenerTask has been succesfull in subscribing