fipaos.platform.df
Interface DFListenerManager
- All Known Implementing Classes:
- DFListenerTask
- public interface DFListenerManager
Method Summary |
void | init(DFListener listener, AgentID df, Task idle_task) Initialises the DFListenerManager - should be invoked BEFORE newTask() is invoked on an instance of DFListenerManager |
void | stopListening() When invoked, causes the subscription with the DF to be cancelled |
boolean | subscribedOK() Indicates if this DFListenerTask has been succesfull in subscribing |
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