soc.server
Class SOCServerRobotPinger

java.lang.Object
  extended byjava.lang.Thread
      extended bysoc.server.SOCServerRobotPinger
All Implemented Interfaces:
java.lang.Runnable

public class SOCServerRobotPinger
extends java.lang.Thread

Pings the robots so that they know that they're connected to the server

Author:
Robert S Thomas

Field Summary
(package private)  boolean alive
           
(package private)  SOCServerPing ping
           
(package private)  java.util.Vector robotConnections
           
(package private)  int sleepTime
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SOCServerRobotPinger(java.util.Vector robots)
          Create a server robot pinger
 
Method Summary
 void run()
          DOCUMENT ME!
 void stopPinger()
          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

robotConnections

java.util.Vector robotConnections

sleepTime

int sleepTime

ping

SOCServerPing ping

alive

boolean alive
Constructor Detail

SOCServerRobotPinger

public SOCServerRobotPinger(java.util.Vector robots)
Create a server robot pinger

Parameters:
robots - the connections to robots
Method Detail

run

public void run()
DOCUMENT ME!


stopPinger

public void stopPinger()
DOCUMENT ME!