|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectti.chimera.registry.NodeSubscriber.ScriptFunctionNodeSubscriber
public static class NodeSubscriber.ScriptFunctionNodeSubscriber
An implementation of the NodeSubscriber
for script
functions.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface ti.chimera.registry.NodeSubscriber |
---|
NodeSubscriber.ScriptFunctionNodeSubscriber |
Constructor Summary | |
---|---|
NodeSubscriber.ScriptFunctionNodeSubscriber(oscript.data.Value fxn)
Class Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Overload equals() to be true if the wrapped fxns
are equal, so add/remove from list, etc., works right. |
int |
hashCode()
Overload hashCode() so add/remove from list, etc., works right. |
void |
publish(Node node,
java.lang.Object value)
delegate to the script function |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeSubscriber.ScriptFunctionNodeSubscriber(oscript.data.Value fxn)
fxn
- the script function to callMethod Detail |
---|
public void publish(Node node, java.lang.Object value)
publish
in interface NodeSubscriber
node
- the node doing the publishingvalue
- the node's new valuepublic boolean equals(java.lang.Object obj)
true
if the wrapped fxns
are equal, so add/remove from list, etc., works right.
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |