edu.cuny.cat
Class ClientSynchronizer

java.lang.Object
  extended by edu.cuny.cat.ClientSynchronizer

public class ClientSynchronizer
extends java.lang.Object

This class aims to make sure that the server will not start the game until all local clients check in in order.

Version:
$Revision: 1.2 $
Author:
Jinzhong Niu

Field Summary
protected static org.apache.log4j.Logger logger
           
protected  edu.cuny.util.SyncTask syncClientTask
           
 
Constructor Summary
ClientSynchronizer()
           
 
Method Summary
 void countMe()
           
 void dispose()
           
 java.lang.String toString()
           
 void waitForClients()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger

syncClientTask

protected edu.cuny.util.SyncTask syncClientTask
Constructor Detail

ClientSynchronizer

public ClientSynchronizer()
Method Detail

countMe

public void countMe()

waitForClients

public void waitForClients()

dispose

public void dispose()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object