Package | Description |
---|---|
org.jlab.coda.cMsg | |
org.jlab.coda.cMsg.apps |
Modifier and Type | Method and Description |
---|---|
cMsgMessage |
cMsgMessage.copy()
Creates a complete copy of this message.
|
cMsgMessage |
cMsgPayloadItem.getMessage()
Gets the payload item as a cMsgMessage object.
|
cMsgMessage[] |
cMsgPayloadItem.getMessageArray()
Gets the payload item as an array of cMsgMessage objects.
|
cMsgMessage |
cMsg.monitor(java.lang.String command)
This method is a synchronous call to receive a message containing monitoring data
which describes the state of the domain the user is connected to.
|
cMsgMessage |
cMsgMessage.nullResponse()
Creates a proper response message to this message which was sent by a client calling
sendAndGet.
|
cMsgMessage |
cMsgMessage.response()
Creates a proper response message to this message which was sent by a client calling
sendAndGet.
|
cMsgMessage |
cMsg.sendAndGet(cMsgMessage message,
int timeout)
The message is sent as it would be in the
cMsg.send(cMsgMessage) method. |
cMsgMessage |
cMsg.subscribeAndGet(java.lang.String subject,
java.lang.String type,
int timeout)
This method is like a one-time subscribe.
|
Modifier and Type | Method and Description |
---|---|
void |
cMsgCallbackAdapter.callback(cMsgMessage msg,
java.lang.Object userObject)
Callback method definition.
|
void |
cMsgCallbackInterface.callback(cMsgMessage msg,
java.lang.Object userObject)
Callback method definition.
|
static void |
cMsgMessage.copy(cMsgMessage src,
cMsgMessage dst)
This method turns the destination message into a complete copy of the source message.
|
void |
cMsgMessage.copyPayload(cMsgMessage msg)
Copy only the payload of the given message, overwriting
the existing payload.
|
void |
cMsgMessage.makeNullResponse(cMsgMessage msg)
Converts existing message to null response of supplied message.
|
void |
cMsgMessage.makeResponse(cMsgMessage msg)
Converts existing message to response of supplied message.
|
void |
cMsg.send(cMsgMessage message)
Method to send a message to the domain for further distribution.
|
cMsgMessage |
cMsg.sendAndGet(cMsgMessage message,
int timeout)
The message is sent as it would be in the
cMsg.send(cMsgMessage) method. |
int |
cMsg.syncSend(cMsgMessage message,
int timeout)
Method to send a message to the domain for further distribution
and wait for a response from the domain that got it.
|
Constructor and Description |
---|
cMsgMessage(cMsgMessage msg)
The constructor which copies a given message.
|
cMsgPayloadItem(java.lang.String name,
cMsgMessage msg)
Construct a payload item from a cMsgMessage object.
|
cMsgPayloadItem(java.lang.String name,
cMsgMessage[] msgs)
Construct a payload item from an array of cMsgMessage objects.
|
Modifier and Type | Method and Description |
---|---|
static void |
cMsgAlarmServer.logToDatabase(cMsgMessage msg) |