org.jogre.common.comm
Interface Comm


public interface Comm

Interface for the variour standard communcations object which are available in the JOGRE api. The various Strings of this interface is the header of a ITransmittable object (1st token of the flattened String).

Version:
Alpha 0.2.1
Author:
Bob Marks
See Also:
ITransmittable

Field Summary
static String CHAT_GAME
          Header token of a CommChatBroadcast communications object.
static String CHAT_TABLE
          Header token of a CommChatRoom communications object.
static String CONTROLLER_OBJECT
          Header token of a CommControllerProperty communications object.
static String CONTROLLER_PROPERTY
          Header token of a CommControllerProperty communications object.
static String DISCONNECT
          Header token of a CommDisconnect communications object.
static int ERR_GAME_NOT_SUPPORTED
          Error 0: Game not supported on this server.
static int ERR_SERVER_FULL
          Error 1: This server is full at present.
static String ERROR
          Header token of a CommError communications object.
static String GAME_CONNECT
          Header token of a CommConnect communications object.
static String GAME_OVER
          Header token of a CommGameOver communications object.
static String INVITE
          Header token of a CommInvite communications object.
static int LAYER_BASE
          Communication layer base.
static int LAYER_GAME
          Communication layer game.
static int LAYER_TABLE
          Communication layer table.
static String MASTER_SERVER_CONNECT
          Header token of a CommMasterServerConnect communications object.
static String MASTER_SERVER_MESSAGE
          Header token of a CommMasterServerMesssage communications object.
static String OFFER_DRAW
          Header token of a CommOfferDraw communications object.
static String PROP_MAX_PLAYERS
          Maximum number of user.
static String PROP_MIN_PLAYERS
          Minimum number of user.
static String PROP_REQ_PLAYERS
          Required number of user.
static String TABLE_ACTION
          Header token of a CommTableAction communications object.
 

Field Detail

LAYER_BASE

public static final int LAYER_BASE
Communication layer base.

See Also:
Constant Field Values

LAYER_GAME

public static final int LAYER_GAME
Communication layer game.

See Also:
Constant Field Values

LAYER_TABLE

public static final int LAYER_TABLE
Communication layer table.

See Also:
Constant Field Values

CHAT_GAME

public static final String CHAT_GAME
Header token of a CommChatBroadcast communications object.

See Also:
Constant Field Values

CHAT_TABLE

public static final String CHAT_TABLE
Header token of a CommChatRoom communications object.

See Also:
Constant Field Values

GAME_CONNECT

public static final String GAME_CONNECT
Header token of a CommConnect communications object.

See Also:
Constant Field Values

MASTER_SERVER_CONNECT

public static final String MASTER_SERVER_CONNECT
Header token of a CommMasterServerConnect communications object.

See Also:
Constant Field Values

MASTER_SERVER_MESSAGE

public static final String MASTER_SERVER_MESSAGE
Header token of a CommMasterServerMesssage communications object.

See Also:
Constant Field Values

CONTROLLER_PROPERTY

public static final String CONTROLLER_PROPERTY
Header token of a CommControllerProperty communications object.

See Also:
Constant Field Values

CONTROLLER_OBJECT

public static final String CONTROLLER_OBJECT
Header token of a CommControllerProperty communications object.

See Also:
Constant Field Values

DISCONNECT

public static final String DISCONNECT
Header token of a CommDisconnect communications object.

See Also:
Constant Field Values

ERROR

public static final String ERROR
Header token of a CommError communications object.

See Also:
Constant Field Values

GAME_OVER

public static final String GAME_OVER
Header token of a CommGameOver communications object.

See Also:
Constant Field Values

INVITE

public static final String INVITE
Header token of a CommInvite communications object.

See Also:
Constant Field Values

OFFER_DRAW

public static final String OFFER_DRAW
Header token of a CommOfferDraw communications object.

See Also:
Constant Field Values

TABLE_ACTION

public static final String TABLE_ACTION
Header token of a CommTableAction communications object.

See Also:
Constant Field Values

PROP_MIN_PLAYERS

public static final String PROP_MIN_PLAYERS
Minimum number of user.

See Also:
Constant Field Values

PROP_MAX_PLAYERS

public static final String PROP_MAX_PLAYERS
Maximum number of user.

See Also:
Constant Field Values

PROP_REQ_PLAYERS

public static final String PROP_REQ_PLAYERS
Required number of user.

See Also:
Constant Field Values

ERR_GAME_NOT_SUPPORTED

public static final int ERR_GAME_NOT_SUPPORTED
Error 0: Game not supported on this server.

See Also:
Constant Field Values

ERR_SERVER_FULL

public static final int ERR_SERVER_FULL
Error 1: This server is full at present.

See Also:
Constant Field Values