Package deltix.qsrv.util.json.parser
Class JsonMessageSource
- java.lang.Object
-
- deltix.qsrv.util.json.parser.JsonMessageSource
-
- All Implemented Interfaces:
deltix.data.stream.MessageSource<RawMessage>
,deltix.util.concurrent.AbstractCursor
,deltix.util.lang.Disposable
,java.io.Closeable
,java.lang.AutoCloseable
public class JsonMessageSource extends java.lang.Object implements deltix.data.stream.MessageSource<RawMessage>
-
-
Constructor Summary
Constructors Constructor Description JsonMessageSource(RecordClassDescriptor[] descriptors, java.io.Reader reader, java.lang.String typeField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
RawMessage
getMessage()
boolean
isAtEnd()
boolean
next()
-
-
-
Constructor Detail
-
JsonMessageSource
public JsonMessageSource(RecordClassDescriptor[] descriptors, java.io.Reader reader, java.lang.String typeField) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getMessage
public RawMessage getMessage()
- Specified by:
getMessage
in interfacedeltix.data.stream.MessageSource<RawMessage>
-
next
public boolean next()
- Specified by:
next
in interfacedeltix.util.concurrent.AbstractCursor
-
isAtEnd
public boolean isAtEnd()
- Specified by:
isAtEnd
in interfacedeltix.util.concurrent.AbstractCursor
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfacedeltix.util.lang.Disposable
-
-