All Packages Class Hierarchy This Package Previous Next Index
Class RouterLayer.util.TimerThread
RouterLayer.util.TimerThread
- public class TimerThread
Timer to be set to kill the live receiver thread. This utility will be convenient
to set the time limit for the specific receiver thread such as RegistrarRecvThread
If the time is over, the timer will kill the receiver thread automatically.
This class can not be used for applets.
-
inTime
- Check the current time is in time or over
-
TimerThread(ReceiverThread, int)
- Constructor
-
run()
- The timer will check the time for every minute.
inTime
public boolean inTime
- Check the current time is in time or over
TimerThread
public TimerThread(ReceiverThread t,
int waitingTimeinMinutes)
- Constructor
- Parameters:
- t - ReceiverThread to be controlled by the timer
- waitingTimeinMinutes - Time to be set. Unit is minutes.
run
public void run()
- The timer will check the time for every minute.
All Packages Class Hierarchy This Package Previous Next Index