|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.neem.impl.Periodic
public abstract class Periodic
A stopable and restartable periodic activity. This uses the scheduling mechanism in the transport layer.
Constructor Summary | |
---|---|
Periodic(java.util.Random rand,
Transport trans,
int interval)
|
Method Summary | |
---|---|
void |
doIt()
|
int |
getInterval()
|
void |
setInterval(int interval)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
---|
run |
Constructor Detail |
---|
public Periodic(java.util.Random rand, Transport trans, int interval)
Method Detail |
---|
public void start()
public void stop()
public void doIt()
public int getInterval()
public void setInterval(int interval)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |