public class cMsgGetConsumer
extends java.lang.Object
cMsg.sendAndGet(org.jlab.coda.cMsg.cMsgMessage, int)
or subscribes to a
subject and type and receives a response by calling cMsg.subscribeAndGet(java.lang.String, java.lang.String, int)
.
To receive a response to a sendAndGet's send, the cMsgGetResponder
must also
be running.Constructor and Description |
---|
cMsgGetConsumer(java.lang.String[] args)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Run as a stand-alone application.
|
void |
run()
This method is executed as a thread.
|
cMsgGetConsumer(java.lang.String[] args)
args
- arguments.public static void main(java.lang.String[] args)
args
- arguments.public void run() throws cMsgException
cMsgException
- if error.