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
Constructors -
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, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.yamcs.yarch.StreamSubscriber
getDescription
-
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:
onTuplein interfaceStreamSubscriber
-
streamClosed
Called when the subcribed stream is closed we close this stream also.- Specified by:
streamClosedin interfaceStreamSubscriber
-
doClose
public void doClose() -
doStart
public void doStart()Description copied from class:StreamStart emitting tuples. -
toString
-