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

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

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

This class handles a server client's subscribeAndGet 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
cMsgServerSubscribeAndGetter(cMsgNameServer nameServer, cMsgNotifier notifier, cMsgCallbackAdapter cb, java.util.Set subscriptions, cMsgServerSubscribeInfo sub)
          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

cMsgServerSubscribeAndGetter

public cMsgServerSubscribeAndGetter(cMsgNameServer nameServer,
                                    cMsgNotifier notifier,
                                    cMsgCallbackAdapter cb,
                                    java.util.Set subscriptions,
                                    cMsgServerSubscribeInfo sub)
Constructor.

Method Detail

run

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