soc.server
Class SOCGameTimeoutChecker

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

public class SOCGameTimeoutChecker
extends java.lang.Thread

Wakes up every 5 minutes to check for games that have expired, by calling SOCServer.checkForExpiredGames().

Author:
Robert S Thomas

Field Summary
(package private)  boolean alive
           
(package private)  SOCServer server
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SOCGameTimeoutChecker(SOCServer srv)
          Create a game timeout checker
 
Method Summary
 void run()
          Wakes up every 5 minutes to check for games that have expired
 void stopChecking()
          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

server

SOCServer server

alive

boolean alive
Constructor Detail

SOCGameTimeoutChecker

public SOCGameTimeoutChecker(SOCServer srv)
Create a game timeout checker

Parameters:
srv - the game server
Method Detail

run

public void run()
Wakes up every 5 minutes to check for games that have expired


stopChecking

public void stopChecking()
DOCUMENT ME!