HPSearch

cgl.hpsearch.services.BrokerDiscovery
Class BrokerFinder

java.lang.Object
  extended bycgl.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)

Constructor Summary
BrokerFinder()
           
 
Method Summary
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.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerFinder

public BrokerFinder()
Method Detail

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)

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006