soc.robot
Class SOCRobotResetThread

java.lang.Object
  extended byjava.lang.Thread
      extended bysoc.robot.SOCRobotResetThread
All Implemented Interfaces:
java.lang.Runnable

public class SOCRobotResetThread
extends java.lang.Thread

When this thread wakes up it calls the disconnectReconnect method of the SOCRobotClient that spawned it

Author:
Robert S Thomas

Field Summary
(package private)  boolean alive
           
(package private)  SOCRobotClient client
           
(package private)  boolean sleeping
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SOCRobotResetThread(SOCRobotClient cl)
          constructor
 
Method Summary
 void run()
          DOCUMENT ME!
 void sleepMore()
          DOCUMENT ME!
 void stopRobotResetThread()
          DOCUMENT ME!
 
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

SOCRobotClient client

sleeping

boolean sleeping

alive

boolean alive
Constructor Detail

SOCRobotResetThread

public SOCRobotResetThread(SOCRobotClient cl)
constructor

Parameters:
cl - the robot client
Method Detail

run

public void run()
DOCUMENT ME!


sleepMore

public void sleepMore()
DOCUMENT ME!


stopRobotResetThread

public void stopRobotResetThread()
DOCUMENT ME!