org.jlab.coda.cMsg.cMsgDomain.server
Class cMsgServerSendAndGetter

java.lang.Object
  extended by org.jlab.coda.cMsg.cMsgDomain.server.cMsgServerSendAndGetter
All Implemented Interfaces:
java.lang.Runnable

public class cMsgServerSendAndGetter
extends java.lang.Object
implements java.lang.Runnable

This class handles a server client's sendAndGet request and propagates it to all the connected servers. It takes care of all the details of getting a response and forwarding that to the client as well as cancelling the request to servers after the first response is received.


Constructor Summary
cMsgServerSendAndGetter(cMsgNameServer nameServer, cMsgNotifier notifier, java.util.concurrent.ConcurrentHashMap sendAndGetters)
          Constructor.
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

cMsgServerSendAndGetter

public cMsgServerSendAndGetter(cMsgNameServer nameServer,
                               cMsgNotifier notifier,
                               java.util.concurrent.ConcurrentHashMap sendAndGetters)
Constructor.

Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable