|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--arlut.csd.ganymede.client.ExitThread
Client-side self-destruction thread. This thread will be created and run
when the server sends the client's
ClientBase a forced disconnect
RMI call. When run, this thread starts a 30 second timer, while the
DeathWatcherThread shows
a dialog to the user, explaining the disconnect. The user can click ok on
that dialog, causing this thread's dieNow() method to terminate the timer. In
any case, when the timer counts down to zero, the glogin's logout() method
will be called, and the client's main window will be shutdown.
| Field Summary | |
(package private) boolean |
debug
|
(package private) boolean |
dieNow
|
(package private) java.lang.String |
message
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ExitThread(java.lang.String message)
|
|
| Method Summary | |
void |
dieNow()
|
void |
run()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
final boolean debug
java.lang.String message
boolean dieNow
| Constructor Detail |
public ExitThread(java.lang.String message)
| Method Detail |
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void dieNow()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||