Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

marauroa
Class TimeoutConf  view TimeoutConf download TimeoutConf.java

java.lang.Object
  extended bymarauroa.TimeoutConf

public class TimeoutConf
extends java.lang.Object


Field Summary
static int CLIENT_MESSAGE_DROPPED_TIMEOUT
          This indicate when the client remove the incomplete packet from its queue
static int CLIENT_NETWORK_NUM_READ
          Indicate how many packets can be read from network before returing
static int GAMESERVER_MESSAGE_GET_TIMEOUT
          This indicate how many time we wait for a message to arrive.
static int GAMESERVER_PLAYER_TIMEOUT
          This indicate that the player is totally dead and must be removed.
static int SOCKET_TIMEOUT
          This indicate when we stop to wait on the socket.
static boolean TIMEOUT_ENABLE
           
 
Constructor Summary
TimeoutConf()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEOUT_ENABLE

public static final boolean TIMEOUT_ENABLE
See Also:
Constant Field Values

SOCKET_TIMEOUT

public static final int SOCKET_TIMEOUT
This indicate when we stop to wait on the socket. The lower the slower.

See Also:
Constant Field Values

GAMESERVER_MESSAGE_GET_TIMEOUT

public static final int GAMESERVER_MESSAGE_GET_TIMEOUT
This indicate how many time we wait for a message to arrive. The lower the slower.

See Also:
Constant Field Values

CLIENT_MESSAGE_DROPPED_TIMEOUT

public static final int CLIENT_MESSAGE_DROPPED_TIMEOUT
This indicate when the client remove the incomplete packet from its queue

See Also:
Constant Field Values

CLIENT_NETWORK_NUM_READ

public static final int CLIENT_NETWORK_NUM_READ
Indicate how many packets can be read from network before returing

See Also:
Constant Field Values

GAMESERVER_PLAYER_TIMEOUT

public static final int GAMESERVER_PLAYER_TIMEOUT
This indicate that the player is totally dead and must be removed. Should be related to Turn Duration, around 4-10 times bigger at least.

See Also:
Constant Field Values
Constructor Detail

TimeoutConf

public TimeoutConf()