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

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

public class cMsgServerCloudJoiner
extends java.lang.Thread

This class oversees the connection of a cMsg server to a cloud of connected cMsg servers in the cMsg subdomain to become part of that cloud.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
cMsgServerCloudJoiner(cMsgNameServer nameServer, int port, java.lang.String server, int debug)
          Constructor.
 
Method Summary
 void run()
          This method is executed as a thread.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

cMsgServerCloudJoiner

public cMsgServerCloudJoiner(cMsgNameServer nameServer,
                             int port,
                             java.lang.String server,
                             int debug)
Constructor.

Parameters:
nameServer - this cMsg name server that is joining the cloud
port - TCP port this server is listening on
server - cMsg name server to connect to
debug - level of debug output
Method Detail

run

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

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread