orc.runtime.nodes
Class Silent
java.lang.Object
orc.runtime.nodes.Node
orc.runtime.nodes.Silent
- All Implemented Interfaces:
- java.io.Serializable
public class Silent
- extends Node
The silent node. Tokens which move here are never reactivated or put
into another data structure, so they are effectively destroyed, and
collected by the Java garbage collector.
- Author:
- dkitchin
- See Also:
- Serialized Form
Method Summary |
boolean |
isTerminal()
Does this node kill the incoming token? |
void |
process(Token t)
The process method is the fundamental operation in the execution engine. |
Methods inherited from class orc.runtime.nodes.Node |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ONLY
public static final Silent ONLY
Silent
public Silent()
process
public void process(Token t)
- Description copied from class:
Node
- The process method is the fundamental operation in the execution engine.
It is called to perform the action of the node on a token.
- Specified by:
process
in class Node
- Parameters:
t
- input token being processed
isTerminal
public boolean isTerminal()
- Description copied from class:
Node
- Does this node kill the incoming token?
- Overrides:
isTerminal
in class Node