|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.core.RtStpsNode
gov.nasa.gsfc.drl.rtstps.core.FrameSenderNode
public abstract class FrameSenderNode
This is a type of RtStpsNode that sends frames to a frame output receiver. It makes no input demands. Nodes that send frames are not required to use this class. I provide it as a convenience.
Field Summary | |
---|---|
private FrameOutputTool |
fotool
I use this tool to create the output link. |
private boolean |
isOutputRequired
Most FrameSenderNodes demand an output link, but setting this to false makes that optional. |
protected FrameReceiver |
output
Where my frames go -- my output link. |
Fields inherited from class gov.nasa.gsfc.drl.rtstps.core.RtStpsNode |
---|
linkName, statusItemList, typeName |
Constructor Summary | |
---|---|
FrameSenderNode(java.lang.String elementName)
Create a FrameSenderNode. |
|
FrameSenderNode(java.lang.String elementName,
java.lang.String linkName)
Create a FrameSenderNode. |
Method Summary | |
---|---|
void |
addReceiver(Receiver receiver)
Add a Receiver to this sender's list of receivers. |
void |
finishSetup(Configuration configuration)
Finish the setup. |
void |
flush()
Flush the pipeline. |
abstract void |
load(org.w3c.dom.Element element,
Configuration configuration)
Set up this RT-STPS node with a configuration. |
protected void |
setOutputIsRequired(boolean ok)
By default, FrameSenderNode demands a non-null output link. |
Methods inherited from class gov.nasa.gsfc.drl.rtstps.core.RtStpsNode |
---|
clear, clone, getElementName, getLinkName, getStatusItems, setLinkName, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected FrameReceiver output
private boolean isOutputRequired
private FrameOutputTool fotool
Constructor Detail |
---|
public FrameSenderNode(java.lang.String elementName)
public FrameSenderNode(java.lang.String elementName, java.lang.String linkName)
Method Detail |
---|
protected final void setOutputIsRequired(boolean ok)
public abstract void load(org.w3c.dom.Element element, Configuration configuration) throws RtStpsException
load
in class RtStpsNode
RtStpsException
public void addReceiver(Receiver receiver) throws RtStpsException
addReceiver
in interface Sender
receiver
- If the receiver is not of the expected type,
then the method throws an RtStpsException.
RtStpsException
public void finishSetup(Configuration configuration) throws RtStpsException
finishSetup
in class RtStpsNode
RtStpsException
public void flush() throws RtStpsException
RtStpsException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |