public class NodeChannelRef
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_handle
the handle referencing the node's channel
|
protected AcceleratorNode |
_node
the node whose channel is being referenced
|
Constructor and Description |
---|
NodeChannelRef(AcceleratorNode node,
java.lang.String handle)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Channel |
getChannel()
Get the referenced channel.
|
java.lang.String |
getHandle()
Get the channel handle which references the channel for the node
|
static NodeChannelRef |
getInstance(Accelerator accelerator,
java.lang.String refString)
attempt to parse the string for a node channel ref
|
AcceleratorNode |
getNode()
Get the node
|
java.lang.String |
toString()
Get a string representation of the node/channel reference
|
protected final AcceleratorNode _node
protected final java.lang.String _handle
public NodeChannelRef(AcceleratorNode node, java.lang.String handle)
public static NodeChannelRef getInstance(Accelerator accelerator, java.lang.String refString)
accelerator
- the accelerator for which to search for the noderefString
- the string to parse for the node and handlepublic AcceleratorNode getNode()
public java.lang.String getHandle()
public Channel getChannel()
public java.lang.String toString()
toString
in class java.lang.Object