Package org.yamcs.yarch
Class OutputStream
java.lang.Object
org.yamcs.yarch.Stream
org.yamcs.yarch.OutputStream
- All Implemented Interfaces:
StreamSubscriber
-
Nested Class Summary
Nested classes/interfaces inherited from class org.yamcs.yarch.Stream
Stream.ExceptionHandler
-
Field Summary
Fields inherited from class org.yamcs.yarch.Stream
log, name, outputDefinition, QUITTING, RUNNING, SETUP, state, subscribers, ydb
-
Constructor Summary
-
Method Summary
Methods inherited from class org.yamcs.yarch.Stream
addSubscriber, close, emitTuple, exceptionHandler, getColumnDefinition, getDataCount, getDefinition, getName, getState, getSubscriberCount, getSubscribers, isClosed, isRunning, quitting, removeSubscriber, setName, start
-
Constructor Details
-
OutputStream
public OutputStream(YarchDatabaseInstance dict, String name, TupleDefinition def) throws YarchException - Throws:
YarchException
-
-
Method Details
-
setSubscribedStream
-
getPort
public int getPort() -
onTuple
- Specified by:
onTuple
in interfaceStreamSubscriber
-
streamClosed
Called when the subcribed stream is closed we close this stream also.- Specified by:
streamClosed
in interfaceStreamSubscriber
-
doClose
public void doClose() -
doStart
public void doStart()Description copied from class:Stream
Start emitting tuples. -
toString
-