java.lang.Object
org.yamcs.yarch.Stream
org.yamcs.yarch.InternalStream
- All Implemented Interfaces:
StreamSubscriber
Stream created by the "create stream statement"
It has an execution context associated and is responsible for closing it when the stream closes.
-
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
ConstructorsConstructorDescriptionInternalStream(ExecutionContext ctx, String name, TupleDefinition definition) -
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, toString
-
Constructor Details
-
InternalStream
-
-
Method Details
-
setInner
-
doClose
protected void doClose() -
doStart
public void doStart()Description copied from class:StreamStart emitting tuples. -
onTuple
- Specified by:
onTuplein interfaceStreamSubscriber
-
streamClosed
- Specified by:
streamClosedin interfaceStreamSubscriber
-