|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
fr.dyade.aaa.agent.WakeUpTask
public class WakeUpTask
Class used to schedule a wake up on a specific agent. A notification is sent to activate the agent.
Constructor Summary | |
---|---|
WakeUpTask(AgentId id,
java.lang.Class wakeUpNotClass,
long period)
Creates a new WakeUpTask and schedules it. |
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class java.util.TimerTask |
---|
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WakeUpTask(AgentId id, java.lang.Class wakeUpNotClass, long period)
id
- the id of the agent to wake up.wakeUpNotClass
- the notification which will be sent to the agentperiod
- period to wake up.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |