com.esotericsoftware.kryonet
Class Common

java.lang.Object
  extended by com.esotericsoftware.kryonet.Common

public class Common
extends java.lang.Object


Field Summary
static short BALL
           
static java.lang.String DEFAULT_IP
           
static int DEFAULT_PORT_TCP
           
static int DEFAULT_PORT_UDP
           
static int port
           
 
Constructor Summary
Common()
           
 
Method Summary
static void register(EndPoint endPoint)
           
static void registerMessages(com.esotericsoftware.kryo.Kryo kryo)
          Registers all messages used in the game with JGN which optimizes them
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_IP

public static final java.lang.String DEFAULT_IP
See Also:
Constant Field Values

DEFAULT_PORT_TCP

public static final int DEFAULT_PORT_TCP
See Also:
Constant Field Values

DEFAULT_PORT_UDP

public static final int DEFAULT_PORT_UDP
See Also:
Constant Field Values

BALL

public static final short BALL
See Also:
Constant Field Values

port

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

Common

public Common()
Method Detail

registerMessages

public static void registerMessages(com.esotericsoftware.kryo.Kryo kryo)
Registers all messages used in the game with JGN which optimizes them


register

public static void register(EndPoint endPoint)