|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.lang.Thread
|
+--arlut.csd.ganymede.client.DeathWatcherThread
Client-side background thread to handle force disconnect commands from the server. We need this thread because jdk 1.2 has a bug where RMI callbacks are not privileged to interact with the Swing thread. By creating a thread to handle forced logouts ourselves, we can have an RMI callback pass a message to this thread (which has local privileges), which can then throw up a dialog explaining about being disconnected, etc.
When run, this thread waits for die() to be called, whereupon it
creates an ExitThread to
actually shut down the client.
| Field Summary | |
(package private) boolean |
debug
|
(package private) java.lang.String |
message
|
| Fields inherited from class java.lang.Thread |
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ |
| Constructor Summary | |
DeathWatcherThread()
|
|
| Method Summary | |
void |
die(java.lang.String message)
This method causes the DeathWatcherThread to kick off the end-of-the-world process. |
void |
run()
|
| Methods inherited from class java.lang.Thread |
|
| 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
| Constructor Detail |
public DeathWatcherThread()
| Method Detail |
public void run()
run in class java.lang.Threadpublic void die(java.lang.String message)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||