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 biggestUdpBufferSize
          The size (in bytes) of biggest buffers used to send UDP data from client to server.
static int biggestUdpPacketSize
          The biggest single UDP packet size is 2^16 - IP(v6) 40 byte header - 8 byte UDP header.
static int cMsgDomainMulticast
          Int to send in UDP packet to cMsg name server if cMsg domain.
static java.lang.String cMsgMulticast
          Multicast address used in cMsg domain = "239.220.0.0"
static int domainServerPort
          Default TCP port at which a cMsg domain, domain server listens for 2 client connections (after that client has connected to name server) = 45001
static int[] magicNumbers
          Ints representing ascii for "cMsg is cool", used to filter out portscanning software.
static int nameServerTcpPort
          Default TCP port at which a cMsg domain name server listens for client connections = 45000
static int nameServerUdpPort
          Default UDP port at which a cMsg name server listens for multicasts = 45000
static int rcClientPort
          TCP port at which a run control client starts looking for a port to listen on and the port that a run control server assumes a client is waiting for connections on = 45800
static int rcDomainMulticastClient
          Int to send in UDP packet to server if RC domain and sender is client.
static int rcDomainMulticastKillSelf
          Tell RCMulticast server to kill himself since server at that port & expid already exists.
static int rcDomainMulticastProbe
          Client is just trying to find RCMulticast servers.
static int rcDomainMulticastServer
          Int to send in UDP packet to rc multicast server if RC domain and sernder is server.
static java.lang.String rcMulticast
          Multicast address used in runcontrol domain = "239.210.0.0"
static int rcMulticastPort
          Default UDP port at which a run control multicast server listens for multicasts = 45200
static int rcServerPort
          TCP port at which a run control server starts looking for a port to listen for a client connection on = 45300
static int tcpServerPort
          TCP port at which a TCPServer server listens for connections = 45600
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

magicNumbers

public static final int[] magicNumbers
Ints representing ascii for "cMsg is cool", used to filter out portscanning software.


rcMulticast

public static final java.lang.String rcMulticast
Multicast address used in runcontrol domain = "239.210.0.0"

See Also:
Constant Field Values

cMsgMulticast

public static final java.lang.String cMsgMulticast
Multicast address used in cMsg domain = "239.220.0.0"

See Also:
Constant Field Values

nameServerTcpPort

public static final int nameServerTcpPort
Default TCP port at which a cMsg domain name server listens for client connections = 45000

See Also:
Constant Field Values

nameServerUdpPort

public static final int nameServerUdpPort
Default UDP port at which a cMsg name server listens for multicasts = 45000

See Also:
Constant Field Values

domainServerPort

public static final int domainServerPort
Default TCP port at which a cMsg domain, domain server listens for 2 client connections (after that client has connected to name server) = 45001

See Also:
Constant Field Values

rcMulticastPort

public static final int rcMulticastPort
Default UDP port at which a run control multicast server listens for multicasts = 45200

See Also:
Constant Field Values

rcServerPort

public static final int rcServerPort
TCP port at which a run control server starts looking for a port to listen for a client connection on = 45300

See Also:
Constant Field Values

rcClientPort

public static final int rcClientPort
TCP port at which a run control client starts looking for a port to listen on and the port that a run control server assumes a client is waiting for connections on = 45800

See Also:
Constant Field Values

tcpServerPort

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

See Also:
Constant Field Values

cMsgDomainMulticast

public static final int cMsgDomainMulticast
Int to send in UDP packet to cMsg name server if cMsg domain.

See Also:
Constant Field Values

rcDomainMulticastClient

public static final int rcDomainMulticastClient
Int to send in UDP packet to server if RC domain and sender is client.

See Also:
Constant Field Values

rcDomainMulticastServer

public static final int rcDomainMulticastServer
Int to send in UDP packet to rc multicast server if RC domain and sernder is server.

See Also:
Constant Field Values

rcDomainMulticastKillSelf

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

See Also:
Constant Field Values

rcDomainMulticastProbe

public static final int rcDomainMulticastProbe
Client is just trying to find RCMulticast servers.

See Also:
Constant Field Values

biggestUdpPacketSize

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

See Also:
Constant Field Values

biggestUdpBufferSize

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

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