HPSearch

cgl.hpsearch.shell.narada
Class BrokerDiscovery

java.lang.Object
  extended byorg.mozilla.javascript.ScriptableObject
      extended bycgl.hpsearch.shell.narada.BrokerDiscovery
All Implemented Interfaces:
Scriptable, Serializable

public class BrokerDiscovery
extends ScriptableObject

BrokerDiscovery is an interface to the NB Broker Discovery service.
E.g.
BrokerDiscovery.discover("5000", "1", "1", ["niotcp", "udp"], "*");

Author:
Harshawardhan S. Gadgil
Date: Jan 28, 2004
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
DONTENUM, EMPTY, parent, PERMANENT, prototype, READONLY
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
BrokerDiscovery()
           
 
Method Summary
 String getClassName()
           
 void jsConstructor()
           
static Object jsFunction_discover(Context _cx, Scriptable _thisObj, Object[] id, Function funObj)
          Invokes the BrokerDiscovery to find the nearest Broker
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
callMethod, defineClass, defineClass, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, getAllIds, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, has, has, hasInstance, hasProperty, hasProperty, isSealed, put, put, putProperty, putProperty, sealObject, setAttributes, setAttributes, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerDiscovery

public BrokerDiscovery()
Method Detail

jsConstructor

public void jsConstructor()

getClassName

public String getClassName()

jsFunction_discover

public static Object jsFunction_discover(Context _cx,
                                         Scriptable _thisObj,
                                         Object[] id,
                                         Function funObj)
Invokes the BrokerDiscovery to find the nearest Broker

Parameters:
_cx -
_thisObj -
id -
funObj -
Returns:
String representing the URI of the WSDL

HPSearch

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