kaos.vlik
Interface AgentLifeService

All Known Implementing Classes:
PeriodicCheckAgentLifeService

public interface AgentLifeService

Provides listeners updates when agents appear and disappear.

See Also:
AgentLifeListener

Method Summary
 java.util.List addListener(AgentLifeListener ls)
           
 void removeListener(AgentLifeListener ls)
           
 void terminate()
          Remove all of its listeners and free any other resources.
 

Method Detail

addListener

java.util.List addListener(AgentLifeListener ls)
Returns:
Register ls for updates, and return the current list of live agents.

removeListener

void removeListener(AgentLifeListener ls)

terminate

void terminate()
Remove all of its listeners and free any other resources.