| |
|
| java.lang.Object java.lang.Thread com.sun.portal.rproxy.connectionhandler.Timer
Timer | public class Timer extends Thread (Code) | | This is a simple timer implementation that runs in its own thread and calls
the client interface method on timer expiration.
author: Kevin Hartig |
Constructor Summary | |
public | Timer(TimerClient client, long duration) Constructor for the basic timer. |
Method Summary | |
public boolean | isActive() Get the timer state. | public void | run() The timer count down. | public void | stopTimer() Stop the timer thread. |
_duration | long _duration(Code) | | |
Timer | public Timer(TimerClient client, long duration)(Code) | | Constructor for the basic timer.
Parameters: client - The client object that wishes to be notified of the timerexpiration. Parameters: duration - time to expiration |
isActive | public boolean isActive()(Code) | | Get the timer state.
|
run | public void run()(Code) | | The timer count down.
|
stopTimer | public void stopTimer()(Code) | | Stop the timer thread.
|
|
|
|