All Packages Class Hierarchy This Package Previous Next Index
Class ProtocolLayer.ConnectorTimerThread
ProtocolLayer.ConnectorTimerThread
- public class ConnectorTimerThread
Connector timer thread. Check communication between an applet and a internet service
server and if time limit meets, stop ConnectorThread and stop itself.
-
inTime
- Check the current time is in time or over
-
ConnectorTimerThread(ConnectorThread, int)
- Constructor
-
resetTime()
- Reset timer
-
run()
- The timer will check the time for every minute.
inTime
public boolean inTime
- Check the current time is in time or over
ConnectorTimerThread
public ConnectorTimerThread(ConnectorThread 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.
resetTime
public void resetTime()
- Reset timer
All Packages Class Hierarchy This Package Previous Next Index