orc.runtime.nodes
Class Silent

java.lang.Object
  extended by orc.runtime.nodes.Node
      extended by 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

Field Summary
static Silent ONLY
           
 
Constructor Summary
Silent()
           
 
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
 

Field Detail

ONLY

public static final Silent ONLY
Constructor Detail

Silent

public Silent()
Method Detail

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