spellcast.net
Interface NetConstants

All Known Implementing Classes:
ServerStatusRequestHandler

public interface NetConstants

This class contains the game constants that are global and do not belong in a particular class.

Author:
Barrie Treloar

Field Summary
static java.lang.String SPELLCAST_NET_BROADCAST_INETADDRESS
          The InetAddress used for broadcasting messages.
static int SPELLCAST_NET_DEFAULT_PORT
          The default port for accepting connections to the spellcast server.
static int SPELLCAST_NET_SERVERLIST_PORT
          The port used for listening for ServerListRequest messages.
 

Field Detail

SPELLCAST_NET_DEFAULT_PORT

static final int SPELLCAST_NET_DEFAULT_PORT
The default port for accepting connections to the spellcast server.

See Also:
Constant Field Values

SPELLCAST_NET_SERVERLIST_PORT

static final int SPELLCAST_NET_SERVERLIST_PORT
The port used for listening for ServerListRequest messages. Note: Only one server for a given IP can use this port. The other server will not be responding to ServerListRequest messages.

See Also:
Constant Field Values

SPELLCAST_NET_BROADCAST_INETADDRESS

static final java.lang.String SPELLCAST_NET_BROADCAST_INETADDRESS
The InetAddress used for broadcasting messages. This address is 255.255.255.255.

See Also:
Constant Field Values


Copyright © 2001-2005 Spellcast. All Rights Reserved.