net.sourceforge.simplegamenet.connectaline
Class CALServer

java.lang.Object
  extended bynet.sourceforge.simplegamenet.specs.GameServer
      extended bynet.sourceforge.simplegamenet.connectaline.CALServer
All Implemented Interfaces:
net.sourceforge.simplegamenet.connectaline.CALPacketCodes, net.sourceforge.simplegamenet.connectaline.CALPlayStyle

public class CALServer
extends net.sourceforge.simplegamenet.specs.GameServer
implements net.sourceforge.simplegamenet.connectaline.CALPacketCodes, net.sourceforge.simplegamenet.connectaline.CALPlayStyle


Field Summary
static int ANY_EMPTY_SPOT
           
static int GRAVITY
           
static int INIT
           
static int MAKE_MOVE_BY_CLIENT
           
static int MAKE_MOVE_BY_PLAYER
           
static int PLAY_FIELD
           
static int REMISE
           
static int RESULT_TURN_BY_CLIENT
           
static int RESULT_TURN_BY_PLAYER
           
static int WINNER
           
 
Fields inherited from class net.sourceforge.simplegamenet.specs.GameServer
serverEngine
 
Constructor Summary
CALServer(net.sourceforge.simplegamenet.specs.ServerEngine serverEngine)
           
 
Method Summary
 void gameAborted()
           
 void gameStarted()
           
 void playerAdded(net.sourceforge.simplegamenet.specs.PlayerSettings playerSettings)
           
 void playerRemoved(net.sourceforge.simplegamenet.specs.PlayerSettings playerSettings)
           
 void receiveData(Integer playerID, Serializable data)
           
 void sendCALPacket(CALPacket cALPacket)
           
 
Methods inherited from class net.sourceforge.simplegamenet.specs.GameServer
close, gameAborting, gameSettingsUpdated, playerSettingsUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INIT

public static final int INIT
See Also:
Constant Field Values

RESULT_TURN_BY_PLAYER

public static final int RESULT_TURN_BY_PLAYER
See Also:
Constant Field Values

RESULT_TURN_BY_CLIENT

public static final int RESULT_TURN_BY_CLIENT
See Also:
Constant Field Values

MAKE_MOVE_BY_PLAYER

public static final int MAKE_MOVE_BY_PLAYER
See Also:
Constant Field Values

MAKE_MOVE_BY_CLIENT

public static final int MAKE_MOVE_BY_CLIENT
See Also:
Constant Field Values

WINNER

public static final int WINNER
See Also:
Constant Field Values

REMISE

public static final int REMISE
See Also:
Constant Field Values

PLAY_FIELD

public static final int PLAY_FIELD
See Also:
Constant Field Values

GRAVITY

public static final int GRAVITY
See Also:
Constant Field Values

ANY_EMPTY_SPOT

public static final int ANY_EMPTY_SPOT
See Also:
Constant Field Values
Constructor Detail

CALServer

public CALServer(net.sourceforge.simplegamenet.specs.ServerEngine serverEngine)
Method Detail

playerAdded

public void playerAdded(net.sourceforge.simplegamenet.specs.PlayerSettings playerSettings)

playerRemoved

public void playerRemoved(net.sourceforge.simplegamenet.specs.PlayerSettings playerSettings)

gameStarted

public void gameStarted()

receiveData

public void receiveData(Integer playerID,
                        Serializable data)

sendCALPacket

public void sendCALPacket(CALPacket cALPacket)

gameAborted

public void gameAborted()


Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.