HPSearch

cgl.hpsearch.shell.flow
Class ResourcePort

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

public class ResourcePort
extends ScriptableObject

ResourcePort encapsulates publish and subscribe for a particular resource This represents a link between a broker topic and some external resource such as file / web-service / ftp / http / stcp socket protocol etc...

Author:
Harshawardhan S. Gadgil $Date: 2005/10/16 14:41:04 $
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
ResourcePort()
           
 
Method Summary
 String getClassName()
           
static Scriptable jsConstructor(Context cx, Object[] args, Function ctorObj, boolean inNewExpr)
           
static void jsFunction_publishTo(Context cx, Scriptable thisObj, Object[] args, Function funObj)
           
static void jsFunction_subscribeFrom(Context cx, Scriptable thisObj, Object[] args, Function funObj)
           
 String jsGet_publish()
           
 String jsGet_subscribe()
           
 void jsSet_publish(String i)
           
 void jsSet_subscribe(String i)
           
 
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

ResourcePort

public ResourcePort()
Method Detail

getClassName

public String getClassName()

jsConstructor

public static Scriptable jsConstructor(Context cx,
                                       Object[] args,
                                       Function ctorObj,
                                       boolean inNewExpr)

jsFunction_subscribeFrom

public static void jsFunction_subscribeFrom(Context cx,
                                            Scriptable thisObj,
                                            Object[] args,
                                            Function funObj)

jsFunction_publishTo

public static void jsFunction_publishTo(Context cx,
                                        Scriptable thisObj,
                                        Object[] args,
                                        Function funObj)

jsSet_publish

public void jsSet_publish(String i)

jsGet_publish

public String jsGet_publish()

jsSet_subscribe

public void jsSet_subscribe(String i)

jsGet_subscribe

public String jsGet_subscribe()

HPSearch

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