org.jlab.coda.cMsg
Class cMsgNetworkConstants

java.lang.Object
  extended by org.jlab.coda.cMsg.cMsgNetworkConstants

public class cMsgNetworkConstants
extends java.lang.Object

This interface defines some useful constants. These constants correspond to identical constants defined in the C implementation of cMsg.

Version:
1.0
Author:
Carl Timmer

Field Summary
static int bigBufferSize
          The size (in bytes) of big buffers used to send data from client to server.
static int biggestUdpPacketSize
          The biggest single UDP packet size is 2^16 - IP 64 byte header - 8 byte UDP header.
static int clientServerStartingPort
          TCP port at which a cMsg domain client starts looking for an unused listening port.
static int cMsgDomainBroadcast
          First int to send in UDP broadcast to server if cMsg domain.
static int domainServerStartingPort
          TCP port at which a cMsg domain, domain server starts looking for an unused listening port.
static int nameServerBroadcastPort
          UDP port at which a cMsg name server listens for broadcasts.
static int nameServerStartingPort
          TCP port at which a cMsg domain name server starts looking for an unused listening port.
static int rcBroadcastPort
          UDP port at which a RunControl server listens for broadcasts.
static int rcClientPort
          TCP port at which a RunControl server assumes a client is waiting for connections on.
static int rcDomainBroadcastClient
          First int to send in UDP broadcast to server if RC domain and sender is client.
static int rcDomainBroadcastKillSelf
          Tell RCBroadcast server to kill himself since server at that port & expid already exists.
static int rcDomainBroadcastServer
          First int to send in UDP broadcast to server if RC domain and sernder is server.
static int rcServerPort
          TCP port at which a RunControl server listens for a client connection on.
static int tcpServerPort
          TCP port at which a TCPServer server listens for connections.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nameServerStartingPort

public static final int nameServerStartingPort
TCP port at which a cMsg domain name server starts looking for an unused listening port.

See Also:
Constant Field Values

domainServerStartingPort

public static final int domainServerStartingPort
TCP port at which a cMsg domain, domain server starts looking for an unused listening port.

See Also:
Constant Field Values

clientServerStartingPort

public static final int clientServerStartingPort
TCP port at which a cMsg domain client starts looking for an unused listening port.

See Also:
Constant Field Values

tcpServerPort

public static final int tcpServerPort
TCP port at which a TCPServer server listens for connections.

See Also:
Constant Field Values

rcBroadcastPort

public static final int rcBroadcastPort
UDP port at which a RunControl server listens for broadcasts.

See Also:
Constant Field Values

rcServerPort

public static final int rcServerPort
TCP port at which a RunControl server listens for a client connection on.

See Also:
Constant Field Values

rcClientPort

public static final int rcClientPort
TCP port at which a RunControl server assumes a client is waiting for connections on.

See Also:
Constant Field Values

nameServerBroadcastPort

public static final int nameServerBroadcastPort
UDP port at which a cMsg name server listens for broadcasts.

See Also:
Constant Field Values

cMsgDomainBroadcast

public static final int cMsgDomainBroadcast
First int to send in UDP broadcast to server if cMsg domain.

See Also:
Constant Field Values

rcDomainBroadcastClient

public static final int rcDomainBroadcastClient
First int to send in UDP broadcast to server if RC domain and sender is client.

See Also:
Constant Field Values

rcDomainBroadcastServer

public static final int rcDomainBroadcastServer
First int to send in UDP broadcast to server if RC domain and sernder is server.

See Also:
Constant Field Values

rcDomainBroadcastKillSelf

public static final int rcDomainBroadcastKillSelf
Tell RCBroadcast server to kill himself since server at that port & expid already exists.

See Also:
Constant Field Values

biggestUdpPacketSize

public static final int biggestUdpPacketSize
The biggest single UDP packet size is 2^16 - IP 64 byte header - 8 byte UDP header.

See Also:
Constant Field Values

bigBufferSize

public static final int bigBufferSize
The size (in bytes) of big buffers used to send data from client to server.

See Also:
Constant Field Values