|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.vlik.PeriodicCheckAgentLifeService
public class PeriodicCheckAgentLifeService
An AgentLifeService which periodically queries the directory service.
Field Summary | |
---|---|
static int |
DEFUALT_PERIOD
|
Constructor Summary | |
---|---|
PeriodicCheckAgentLifeService()
|
|
PeriodicCheckAgentLifeService(int period)
|
Method Summary | |
---|---|
java.util.List |
addListener(AgentLifeListener ls)
|
void |
removeListener(AgentLifeListener ls)
|
void |
terminate()
Remove all of its listeners and free any other resources. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int DEFUALT_PERIOD
Constructor Detail |
---|
public PeriodicCheckAgentLifeService()
public PeriodicCheckAgentLifeService(int period)
period
- Time between queries in milliseconds.Method Detail |
---|
public java.util.List addListener(AgentLifeListener ls)
addListener
in interface AgentLifeService
public void removeListener(AgentLifeListener ls)
removeListener
in interface AgentLifeService
public void terminate()
AgentLifeService
terminate
in interface AgentLifeService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |