soc.server.genericServer
Class Server.ConnVersionSetCheckerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by soc.server.genericServer.Server.ConnVersionSetCheckerTask
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
Server

private static class Server.ConnVersionSetCheckerTask
extends java.util.TimerTask

Perform the periodic consistency-check of Server.cliVersionsConnected. Most checks are very quick (check size vs. # of clients). Scheduled by Server.initMisc(). Synchronizes on Server.unnamedConns.

Since:
1.1.06
See Also:
Server.clientVersionCheckMap(TreeMap, boolean), Server.CLI_VERSION_SET_CONSIS_CHECK_QUICK_COUNT

Field Summary
private  Server srv
           
 
Constructor Summary
Server.ConnVersionSetCheckerTask(Server s)
           
 
Method Summary
 void run()
          Called when timer fires.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

srv

private Server srv
Constructor Detail

Server.ConnVersionSetCheckerTask

public Server.ConnVersionSetCheckerTask(Server s)
Method Detail

run

public void run()
Called when timer fires. See class description for action taken. Synchronizes on Server.unnamedConns.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask