arlut.csd.ganymede.client
Class ExitThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--arlut.csd.ganymede.client.ExitThread
All Implemented Interfaces:
java.lang.Runnable

class ExitThread
extends java.lang.Thread

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

debug

final boolean debug
See Also:
Constant Field Values

message

java.lang.String message

dieNow

boolean dieNow
Constructor Detail

ExitThread

public ExitThread(java.lang.String message)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

dieNow

public void dieNow()