|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jlab.coda.cMsg.apps.cMsgGetConsumer
public class cMsgGetConsumer
This is an example class which creates a cMsg client that synchronously either
sends and receives messages by calling cMsg.sendAndGet(org.jlab.coda.cMsg.cMsgMessage, int)
or subscribes to a
subject & 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.
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Run as a stand-alone application. |
void |
run()
This method is executed as a thread. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.String[] args)
public void run() throws cMsgException
cMsgException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |