Class BarrageMessageReaderImpl
java.lang.Object
io.deephaven.extensions.barrage.util.BarrageMessageReaderImpl
- All Implemented Interfaces:
BarrageMessageReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsafelyParseFrom
(BarrageOptions options, ChunkType[] columnChunkTypes, Class<?>[] columnTypes, Class<?>[] componentTypes, InputStream stream) Converts anInputStream
to aBarrageMessage
in the context of the provided parameters.void
setDeserializeTmConsumer
(LongConsumer deserializeTmConsumer)
-
Constructor Details
-
BarrageMessageReaderImpl
public BarrageMessageReaderImpl() -
BarrageMessageReaderImpl
-
-
Method Details
-
setDeserializeTmConsumer
-
safelyParseFrom
public BarrageMessage safelyParseFrom(BarrageOptions options, ChunkType[] columnChunkTypes, Class<?>[] columnTypes, Class<?>[] componentTypes, InputStream stream) Description copied from interface:BarrageMessageReader
Converts anInputStream
to aBarrageMessage
in the context of the provided parameters.- Specified by:
safelyParseFrom
in interfaceBarrageMessageReader
- Parameters:
options
- the options related to parsing this messagecolumnChunkTypes
- the types to use for each column chunkcolumnTypes
- the actual type for the columncomponentTypes
- the actual component type for the columnstream
- the input stream that holds the message to be parsed- Returns:
- a BarrageMessage filled out by the stream's payload
-