public class cMsgConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
cloudAny
Failover of client to a server in the cloud will go to any of the cloud servers (default).
|
static int |
cloudLocal
Failover of client to a server in the cloud will go to a local cloud server first
before others are considered.
|
static int |
debugError
Print out severe and normal error messages.
|
static int |
debugInfo
Print out all error, warning, and informational messages.
|
static int |
debugNone
Print out no status messages.
|
static int |
debugSevere
Print out only severe error messages.
|
static int |
debugWarn
Print out all error and warning messages.
|
static int |
emuEnd
Will shutdown socket on other end.
|
static int |
emuEventTypeControl
Must be same as org.jlab.coda.emu.support.data.EventType.CONTROL.
|
static int |
emuEventTypePP
Must be same as org.jlab.coda.emu.support.data.EventType.PARTIAL_PHYSICS.
|
static int |
emuEventTypeRoc
Must be same as org.jlab.coda.emu.support.data.EventType.ROC_RAW.
|
static int |
emuEvioEndEvent
Evio file format data containing only END event.
|
static int |
emuEvioFileFormat
Evio file format data.
|
static int |
endianBig
Data is big endian.
|
static int |
endianLittle
Data is little endian.
|
static int |
endianLocal
Data's endian is the same as the local host's.
|
static int |
endianNotLocal
Data's endian is opposite of the local host's.
|
static int |
endianSwitch
Switch recorded value of data's endianness.
|
static int |
error
General error.
|
static int |
errorAbort
Error due to aborted procedure.
|
static int |
errorAlreadyExists
Specifying that a unique item already exists.
|
static int |
errorAlreadyInitialized
Error since already initialized.
|
static int |
errorBadArgument
Specifying a bad argument.
|
static int |
errorBadDomainId
Error due to not matching any existing domain.
|
static int |
errorBadDomainType
Specifying a domain type that does not exist or is not supported.
|
static int |
errorBadFormat
Specifying a bad format.
|
static int |
errorBadMessage
Error due to message not being in the correct form.
|
static int |
errorDifferentVersion
Error due to being different version.
|
static int |
errorIllegalMessageType
Specifying illegal message type.
|
static int |
errorLimitExceeded
Error due to a limit that was exceeded.
|
static int |
errorLostConnection
Error since lost network connection.
|
static int |
errorNetwork
Error due to network communication problem.
|
static int |
errorNoClassFound
Error due to no Java class found for specified subdomain.
|
static int |
errorNoMemory
Error due to no more computer memory.
|
static int |
errorNotImplemented
Specifying a feature not implemented.
|
static int |
errorNotInitialized
Error since not initialized.
|
static int |
errorOutOfRange
Specifying out-of-range parameter.
|
static int |
errorPend
Error waiting for messages to arrive.
|
static int |
errorServerDied
Error due to server dying.
|
static int |
errorSocket
Error due to bad socket specification.
|
static int |
errorTimeout
Error specifying a time out.
|
static int |
errorWrongDomainType
Specifying a different domain type than expected.
|
static int |
errorWrongPassword
Error due to wrong password.
|
static int |
failoverAny
Failover of client can go to any of the UDLs given in connect (default).
|
static int |
failoverCloud
Failover of client will go to servers in the cloud first, if none are available,
the client can go to any of the UDLs given in connect.
|
static int |
failoverCloudOnly
Failover of client will only go to servers in the cloud.
|
static int |
includeMe
For shutdownClients,
do NOT exclude the client calling shutdown from being shutdown.
|
static int |
includeMyServer
For shutdownServers,
do NOT exclude the server that the calling client is connected to
from being shutdown.
|
static int |
minorVersion
Minor cMsg version number = 0
|
static int |
msgConnectRequest
Connect to the server from client.
|
static int |
msgDisconnectRequest
Disconnect client from the server.
|
static int |
msgGetResponse
Respond to a "sendAndGet" request.
|
static int |
msgKeepAlive
See if the process on the other end of the socket is still alive.
|
static int |
msgMonitorRequest
Send "monitor" request.
|
static int |
msgRcAbortConnect
Respond to a runcontrol server's "connect" request.
|
static int |
msgRcConnect
Respond to a runcontrol server's "connect" request.
|
static int |
msgSendAndGetRequest
Get a message from a responder of a sent message.
|
static int |
msgSendRequest
Send a message.
|
static int |
msgServerCloudLock
Lock server from joining server cloud or accepting registrations.
|
static int |
msgServerCloudLockResponse
Send a response to a server client's "cloud lock" request.
|
static int |
msgServerCloudSetStatus
Unlock server for joining server cloud or accepting registrations.
|
static int |
msgServerCloudUnlock
Unlock server for joining server cloud or accepting registrations.
|
static int |
msgServerConnectRequest
Connect to the server from server.
|
static int |
msgServerDisconnectRequest
Disconnect server from the server.
|
static int |
msgServerGetResponse
Respond to a server's "sendAndGet" request.
|
static int |
msgServerRegisterClient
Register client from another server.
|
static int |
msgServerRegistrationLock
Lock server from doing other registrations.
|
static int |
msgServerRegistrationLockResponse
Send a response to a server client's "registration lock" request.
|
static int |
msgServerRegistrationUnlock
Unlock server for doing other registrations.
|
static int |
msgServerSendAndGetRequest
SendAndGet a message by another server.
|
static int |
msgServerSendClientNames
Send names of local clients.
|
static int |
msgServerSendClientNamesResponse
Send a response to a server client's "sendClientNames" request.
|
static int |
msgServerShutdownClients
Shutdown various clients.
|
static int |
msgServerShutdownSelf
Shutdown various servers.
|
static int |
msgServerSubscribeAndGetRequest
SubscribeAndGet a message by another server.
|
static int |
msgServerSubscribeRequest
Subscribe to messages by another server.
|
static int |
msgServerUnRegisterClient
Unregister client from another server.
|
static int |
msgServerUnSendAndGetRequest
UnSendAndGet to a message by another server.
|
static int |
msgServerUnsubscribeAndGetRequest
UnsubscribeAndGet to a message by another server.
|
static int |
msgServerUnsubscribeRequest
Unsubscribe to messages by another server.
|
static int |
msgShutdownClients
Shutdown various clients.
|
static int |
msgShutdownServers
Shutdown various servers.
|
static int |
msgSubscribeAndGetRequest
Get a message with 1-shot subscribe.
|
static int |
msgSubscribeRequest
Subscribe to messages.
|
static int |
msgSubscribeResponse
Respond with message to the subscribe command.
|
static int |
msgSyncSendRequest
Send a message with synchronous response.
|
static int |
msgSyncSendResponse
Send a response to a syncSend request.
|
static int |
msgUnSendAndGetRequest
Remove "sendAndGet" request.
|
static int |
msgUnsubscribeAndGetRequest
Remove "subscribeAndGet" request.
|
static int |
msgUnsubscribeRequest
Unsubscribe to messages.
|
static int |
ok
No error.
|
static int |
payloadBin
Binary array in cMsg message payload.
|
static int |
payloadBinA
Array of binary arrays in cMsg message payload.
|
static int |
payloadDbl
8 byte double item in cMsg message payload.
|
static int |
payloadDblA
8 byte double array item in cMsg message payload.
|
static int |
payloadFlt
4-byte float item in cMsg message payload.
|
static int |
payloadFltA
4-byte float array item in cMsg message payload.
|
static int |
payloadInt16
2 byte signed integer item in cMsg message payload.
|
static int |
payloadInt16A
2 byte signed integer array item in cMsg message payload.
|
static int |
payloadInt32
4 byte signed integer item in cMsg message payload.
|
static int |
payloadInt32A
4 byte signed integer array item in cMsg message payload.
|
static int |
payloadInt64
8 byte signed integer item in cMsg message payload.
|
static int |
payloadInt64A
8 byte signed integer array item in cMsg message payload.
|
static int |
payloadInt8
1 byte signed integer item in cMsg message payload.
|
static int |
payloadInt8A
1 byte signed integer array item in cMsg message payload.
|
static int |
payloadMsg
cMsg message in cMsg message payload.
|
static int |
payloadMsgA
cMsg message array in cMsg message payload.
|
static int |
payloadStr
String item in cMsg message payload.
|
static int |
payloadStrA
String array item in cMsg message payload.
|
static int |
payloadUint16
2 byte unsigned integer item in cMsg message payload.
|
static int |
payloadUint16A
2 byte unsigned integer array item in cMsg message payload.
|
static int |
payloadUint32
4 byte unsigned integer item in cMsg message payload.
|
static int |
payloadUint32A
4 byte unsigned integer array item in cMsg message payload.
|
static int |
payloadUint64
8 byte unsigned integer item in cMsg message payload.
|
static int |
payloadUint64A
8 byte unsigned integer array item in cMsg message payload.
|
static int |
payloadUint8
1 byte unsigned integer item in cMsg message payload.
|
static int |
payloadUint8A
1 byte unsigned integer array item in cMsg message payload.
|
static int |
regimeHigh
Client has high data/message throughput.
|
static int |
regimeLow
Client has low data/message throughput.
|
static int |
regimeLowMaxClients
Default maximum number of clients per cMsgDomainServerSelect object in regimeLow mode.
|
static int |
regimeMedium
Client has medium data/message throughput (default).
|
static int |
version
Major cMsg version number = 6
|
public static final int version
public static final int minorVersion
public static final int debugNone
public static final int debugSevere
public static final int debugError
public static final int debugWarn
public static final int debugInfo
public static final int endianBig
public static final int endianLittle
public static final int endianLocal
public static final int endianNotLocal
public static final int endianSwitch
public static final int regimeMedium
public static final int regimeLow
public static final int regimeHigh
public static final int regimeLowMaxClients
public static final int failoverAny
public static final int failoverCloud
public static final int failoverCloudOnly
public static final int cloudAny
public static final int cloudLocal
public static final int ok
public static final int error
public static final int errorTimeout
public static final int errorNotImplemented
public static final int errorBadArgument
public static final int errorBadFormat
public static final int errorBadDomainType
public static final int errorAlreadyExists
public static final int errorNotInitialized
public static final int errorAlreadyInitialized
public static final int errorLostConnection
public static final int errorNetwork
public static final int errorSocket
public static final int errorPend
public static final int errorIllegalMessageType
public static final int errorNoMemory
public static final int errorOutOfRange
public static final int errorLimitExceeded
public static final int errorBadDomainId
public static final int errorBadMessage
public static final int errorWrongDomainType
public static final int errorNoClassFound
public static final int errorDifferentVersion
public static final int errorWrongPassword
public static final int errorServerDied
public static final int errorAbort
public static final int msgConnectRequest
public static final int msgDisconnectRequest
public static final int msgKeepAlive
public static final int msgShutdownClients
public static final int msgShutdownServers
public static final int msgSendRequest
public static final int msgSyncSendRequest
public static final int msgSubscribeRequest
public static final int msgUnsubscribeRequest
public static final int msgSubscribeAndGetRequest
public static final int msgUnsubscribeAndGetRequest
public static final int msgSendAndGetRequest
public static final int msgUnSendAndGetRequest
public static final int msgMonitorRequest
public static final int msgGetResponse
public static final int msgSubscribeResponse
public static final int msgServerGetResponse
public static final int msgRcConnect
public static final int msgRcAbortConnect
public static final int msgSyncSendResponse
public static final int msgServerSendClientNamesResponse
public static final int msgServerCloudLockResponse
public static final int msgServerRegistrationLockResponse
public static final int msgServerSubscribeRequest
public static final int msgServerUnsubscribeRequest
public static final int msgServerSubscribeAndGetRequest
public static final int msgServerUnsubscribeAndGetRequest
public static final int msgServerConnectRequest
public static final int msgServerDisconnectRequest
public static final int msgServerRegisterClient
public static final int msgServerUnRegisterClient
public static final int msgServerSendClientNames
public static final int msgServerRegistrationLock
public static final int msgServerRegistrationUnlock
public static final int msgServerCloudLock
public static final int msgServerCloudUnlock
public static final int msgServerCloudSetStatus
public static final int msgServerSendAndGetRequest
public static final int msgServerUnSendAndGetRequest
public static final int msgServerShutdownClients
public static final int msgServerShutdownSelf
public static final int includeMe
public static final int includeMyServer
public static final int payloadStr
public static final int payloadFlt
public static final int payloadDbl
public static final int payloadInt8
public static final int payloadInt16
public static final int payloadInt32
public static final int payloadInt64
public static final int payloadUint8
public static final int payloadUint16
public static final int payloadUint32
public static final int payloadUint64
public static final int payloadMsg
public static final int payloadBin
public static final int payloadStrA
public static final int payloadFltA
public static final int payloadDblA
public static final int payloadInt8A
public static final int payloadInt16A
public static final int payloadInt32A
public static final int payloadInt64A
public static final int payloadUint8A
public static final int payloadUint16A
public static final int payloadUint32A
public static final int payloadUint64A
public static final int payloadMsgA
public static final int payloadBinA
public static final int emuEvioFileFormat
public static final int emuEnd
public static final int emuEvioEndEvent
public static final int emuEventTypeRoc
public static final int emuEventTypePP
public static final int emuEventTypeControl