org.embedchat.protocol
Class Constants

java.lang.Object
  extended by org.embedchat.protocol.Constants

public class Constants
extends java.lang.Object


Field Summary
static int ADD_BODY_LEN
           
static int ERROR_MESSAGE
          Server messages constants
static int HEADER_COMMAND_BODY_SIZE_LENGTH
           
static int HEADER_COMMAND_ID_LENGTH
          Message header constants
static int HEADER_LEN
           
static int LOGIN_MESSAGE
          Client messages constants
static int RESULT
          Some other constants
static int RESULT_CODE_LEN
           
static int RESULT_ERROR
           
static int RESULT_OK
           
static int RESULT_VALUE_LEN
           
static int ROOMS_LIST_MESSAGE
           
static int ROOMS_LIST_REQUEST_MESSAGE
           
static int TEXT_MESSAGE
          Common messages constants
static int USERS_LIST_MESSAGE
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_COMMAND_ID_LENGTH

public static final int HEADER_COMMAND_ID_LENGTH
Message header constants

See Also:
Constant Field Values

HEADER_COMMAND_BODY_SIZE_LENGTH

public static final int HEADER_COMMAND_BODY_SIZE_LENGTH
See Also:
Constant Field Values

HEADER_LEN

public static final int HEADER_LEN
See Also:
Constant Field Values

TEXT_MESSAGE

public static final int TEXT_MESSAGE
Common messages constants

See Also:
Constant Field Values

LOGIN_MESSAGE

public static final int LOGIN_MESSAGE
Client messages constants

See Also:
Constant Field Values

ROOMS_LIST_REQUEST_MESSAGE

public static final int ROOMS_LIST_REQUEST_MESSAGE
See Also:
Constant Field Values

ERROR_MESSAGE

public static final int ERROR_MESSAGE
Server messages constants

See Also:
Constant Field Values

ROOMS_LIST_MESSAGE

public static final int ROOMS_LIST_MESSAGE
See Also:
Constant Field Values

USERS_LIST_MESSAGE

public static final int USERS_LIST_MESSAGE
See Also:
Constant Field Values

RESULT

public static final int RESULT
Some other constants

See Also:
Constant Field Values

RESULT_CODE_LEN

public static final int RESULT_CODE_LEN
See Also:
Constant Field Values

RESULT_VALUE_LEN

public static final int RESULT_VALUE_LEN
See Also:
Constant Field Values

ADD_BODY_LEN

public static final int ADD_BODY_LEN
See Also:
Constant Field Values

RESULT_OK

public static final int RESULT_OK
See Also:
Constant Field Values

RESULT_ERROR

public static final int RESULT_ERROR
See Also:
Constant Field Values


Copyright 2006-2006 embedchat.org. All Rights Reserved.