cgl.hpsearch.services.BrokerDiscovery
Class BrokerFinder
java.lang.Object
cgl.hpsearch.services.BrokerDiscovery.BrokerFinder
- public class BrokerFinder
- extends Object
Discovers the nearest available broker to connect to.
Created on Jul 14, 2005
- Author:
- Harshawardhan Gadgil (hgadgil@grids.ucs.indiana.edu)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrokerFinder
public BrokerFinder()
FindBroker
public static BrokerDiscoveryResponse FindBroker(int timeout,
int maxResponses,
int maxSetSize,
String[] protocolSet,
String networks)
- Locates the nearest / best broker using the Broker Discovery mechanism implemented in NB.
Requires NB ver. 1.0 or greater
- Parameters:
timeout - maxResponses - maxSetSize - protocolSet - networks -
- Returns:
- BrokerDiscovery Response corresponding to the best broker
main
public static void main(String[] args)