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.


Variable Index

 o inTime
Check the current time is in time or over

Constructor Index

 o ConnectorTimerThread(ConnectorThread, int)
Constructor

Method Index

 o resetTime()
Reset timer
 o run()
The timer will check the time for every minute.

Variables

 o inTime
 public boolean inTime
Check the current time is in time or over

Constructors

 o 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.

Methods

 o run
 public void run()
The timer will check the time for every minute.

 o resetTime
 public void resetTime()
Reset timer


All Packages  Class Hierarchy  This Package  Previous  Next  Index