org.jlab.coda.cMsg.apps
Class cMsgGetResponder

java.lang.Object
  extended by org.jlab.coda.cMsg.apps.cMsgGetResponder

public class cMsgGetResponder
extends java.lang.Object

This is an example class which creates a client designed to respond to sendAndGet messages from another client (see cMsgGetConsumer). This client is essentially a cMsg message consumer which subscribes to a subject/type and then responds to incoming messages by sending a message for the sender only.


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

main

public static void main(java.lang.String[] args)
Run as a stand-alone application.


run

public void run()
         throws cMsgException
This method is executed as a thread.

Throws:
cMsgException