public class InputTerminal extends Terminal implements java.lang.Cloneable
Each InputTerminal instance represents a logical point of input to a Node.
Each node contains zero or more InputTerminals. A node which has no InputTerminals is known as an input node, as it forms the point from which messages are generated.
Terminals form the logical connection points between nodes. Messages flow from the output terminal of one node to the input terminal of another node.
To work with input terminals, gain handles to them from the owning node. For example:
File msgFlow1 = new File("Test.msgflow"); MessageFlow mf1 = FlowRendererMSGFLOW.read(msgFlow1); Node outputNode = mf1.getNodeByName("output to queue"); InputTerminal t = outputNode.getInputTerminal("in");
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ xxxxx.x 2010-07-28 HDMPL creation xxxxx.x 2010-08-10 dstorey v7.0.0.2 Release xxxxx.x 2011-07-06 dstorey v8.0.0.0 Release
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
Constructor and Description |
---|
InputTerminal(Node owningNode,
java.lang.String terminalName) |
InputTerminal(Node owningNode,
java.lang.String terminalName,
boolean dynamic) |
equals, getName, getOwningNode, toString
public static final java.lang.String copyright
public InputTerminal(Node owningNode, java.lang.String terminalName)
owningNode
- Node; the node which owns this terminalterminalName
- String; the terminal name of this terminalpublic InputTerminal(Node owningNode, java.lang.String terminalName, boolean dynamic)
owningNode
- Node; the node which owns this terminalterminalName
- String; the terminal name of this terminaldynamic
- boolean; true if this is a dynamic terminal