|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mozilla.javascript.ScriptableObject
cgl.hpsearch.shell.narada.NaradaBroker
NaradaBroker object to create and manipulate brokers and links
Updated on Mar 07, 2005 - Uses custom SOAP Messages instead of simple AXIS
based RPC
Created on Sep 27, 2004
| Field Summary |
| Fields inherited from class org.mozilla.javascript.ScriptableObject |
DONTENUM, EMPTY, parent, PERMANENT, prototype, READONLY |
| Fields inherited from interface cgl.hpsearch.services.BrokerInstantiator.BrokerInstantiatorServiceConstants |
BrokerIDElement, BROKERSERVICE_RESPONSE, CONNECT_TO, CREATE, DELETE_LINK, DISPOSE, GET_BROKERS, GET_GATEWAY_ADDRESS, GET_LINKS, GET_NODE_ADDRESS |
| Fields inherited from interface org.mozilla.javascript.Scriptable |
NOT_FOUND |
| Constructor Summary | |
NaradaBroker()
|
|
NaradaBroker(String brokerServiceHost)
|
|
| Method Summary | |
String |
getClassName()
|
String |
getMetadata()
|
String[] |
getSupportedActions()
|
static Scriptable |
jsConstructor(Context cx,
Object[] args,
Function ctorObj,
boolean inNewExpr)
|
static String |
jsFunction_connectTo(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
Creates a Link to the specifed Broker |
static String |
jsFunction_create(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
Creates a Broker using the specified config file |
static Scriptable |
jsFunction_getBrokers(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
Gets a list of brokers from this service instance |
static Scriptable |
jsFunction_getLinks(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
Gets a list of links from this broker |
static boolean |
jsFunction_killBroker(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
Deletes the specified broker |
static void |
jsFunction_removeLink(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
Removes the specified link on the broker |
static boolean |
jsFunction_requestGatewayAddress(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
Gets a Gateway level address for this broker |
static boolean |
jsFunction_requestNodeAddress(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
Gets a Node address for this broker |
void |
process(HTTPPayload msg)
|
| 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 |
public NaradaBroker()
public NaradaBroker(String brokerServiceHost)
| Method Detail |
public String getMetadata()
getMetadata in interface SOAPRequestHandlerpublic String[] getSupportedActions()
getSupportedActions in interface SOAPRequestHandlerpublic void process(HTTPPayload msg)
process in interface SOAPRequestHandler
public static Scriptable jsConstructor(Context cx,
Object[] args,
Function ctorObj,
boolean inNewExpr)
public String getClassName()
getClassName in interface Scriptable
public static String jsFunction_create(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
public static String jsFunction_connectTo(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
public static boolean jsFunction_requestNodeAddress(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
public static boolean jsFunction_requestGatewayAddress(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
public static Scriptable jsFunction_getLinks(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
public static void jsFunction_removeLink(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
public static boolean jsFunction_killBroker(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
public static Scriptable jsFunction_getBrokers(Context _cx,
Scriptable _thisObj,
Object[] id,
Function funObj)
|
HPSearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||