org.jlab.coda.cMsg.apps
Class cMsgFindServers

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

public class cMsgFindServers
extends java.lang.Object

This is an example class which creates a cMsg server finder. It is useful in and of itself. This class will find cMsg domain servers and rc multicast servers -- each of which may be operating at different ports. By default, the cMsgServerFinder class (which this class uses) probes ports starting from cMsgNetworkConstants.rcMulticastPort and the next 99 values for rc multicast server, and it also probes ports starting from cMsgNetworkConstants.nameServerUdpPort and the next 99 values for cmsg domain servers. Additional ports to probe can be included on the command line.


Method Summary
static void main(java.lang.String[] args)
          Run as a stand-alone application.
 void run()
           
 
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()