|
CICS® Transaction Gateway Programming Reference V3.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ctg.epi.EPITerminal.Timer
This class is a simple timer. It has a thread which does nothing but go to sleep for the timeout interval. If when it wakes up it finds that the reset flag is not set, it ends and calls the EPITerminal.timedOut method.
Field Summary | |
(package private) boolean |
killed
flag used to stop the thread |
(package private) boolean |
reset
reset flag |
(package private) boolean |
running
thread running flag |
(package private) long |
timeout
timeout interval |
Constructor Summary | |
(package private) |
EPITerminal.Timer()
|
Method Summary | |
(package private) long |
getTimeout()
Returns the timeout period. |
(package private) void |
reset()
Reset the timer. |
(package private) void |
setTimeout(long t)
Set the timeout period. |
(package private) void |
start()
Start the timer. |
(package private) void |
stop()
Stop the timer. |
Methods inherited from class java.lang.Object |
|
Field Detail |
long timeout
transient boolean reset
transient boolean killed
transient boolean running
Constructor Detail |
EPITerminal.Timer()
Method Detail |
void setTimeout(long t)
t
- the timeout periodlong getTimeout()
void reset()
void stop()
void start()
|
© Copyright IBM Corp. 1994, 1999 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |