arlut.csd.ganymede.client
Class SecurityLaunderThread

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

class SecurityLaunderThread
extends java.lang.Thread

Background client thread designed to launder build status messages from the server on a non-RMI thread. Set up and torn down by the gclient class.


Field Summary
(package private)  boolean buildingPhase1
           
(package private)  boolean buildingPhase2
           
(package private)  arlut.csd.ganymede.client.gclient client
           
(package private)  boolean done
           
(package private)  boolean messageSet
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SecurityLaunderThread(arlut.csd.ganymede.client.gclient client)
           
 
Method Summary
 void run()
           
 void setBuildStatus(boolean phase1, boolean phase2)
          This method is called to trigger a build status icon update.
 void shutdown()
          This method causes the run() method to gracefully terminate without taking any further action.
 
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

client

arlut.csd.ganymede.client.gclient client

done

boolean done

messageSet

boolean messageSet

buildingPhase1

boolean buildingPhase1

buildingPhase2

boolean buildingPhase2
Constructor Detail

SecurityLaunderThread

public SecurityLaunderThread(arlut.csd.ganymede.client.gclient client)
Method Detail

run

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

setBuildStatus

public void setBuildStatus(boolean phase1,
                           boolean phase2)

This method is called to trigger a build status icon update.

Called by gclient.setBuildStatus().


shutdown

public void shutdown()

This method causes the run() method to gracefully terminate without taking any further action.