vooga.network
Class NetworkConstants

java.lang.Object
  extended by vooga.network.NetworkConstants

public class NetworkConstants
extends java.lang.Object

NetworkConstants stores the port numbers over which the 4 client/server connections are made.

Author:
tgr3, tws10, sam1

Nested Class Summary
static class NetworkConstants.NullResponse
          Used by servers to be able to return a null value for a request from a client.
 
Field Summary
static int ACKNOWLEDGE_SUCCESS
           
static int CHAT_PORT
           
static java.lang.String FILE_EXTENSION
           
static int GAME_PORT
           
static int LOBBY_PORT
           
static int UTILS_PORT
           
 
Constructor Summary
NetworkConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHAT_PORT

public static final int CHAT_PORT
See Also:
Constant Field Values

UTILS_PORT

public static final int UTILS_PORT
See Also:
Constant Field Values

GAME_PORT

public static final int GAME_PORT
See Also:
Constant Field Values

LOBBY_PORT

public static final int LOBBY_PORT
See Also:
Constant Field Values

ACKNOWLEDGE_SUCCESS

public static final int ACKNOWLEDGE_SUCCESS
See Also:
Constant Field Values

FILE_EXTENSION

public static final java.lang.String FILE_EXTENSION
See Also:
Constant Field Values
Constructor Detail

NetworkConstants

public NetworkConstants()