Class BinaryMarshallers
BinaryMarshaller
s.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMarshaller forOpenLRLocationReference
s with default configuration.Marshaller forOpenLRLocationReference
s.static BinaryMarshaller<TECMessage>
Marshaller forTECMessage
s with default configuration.static BinaryMarshaller<TECMessage>
tecMessage
(BinaryMarshallerConfig config) Marshaller forTECMessage
s.static BinaryMarshaller<TFPMessage>
Marshaller forTFPMessage
s with default configuration.static BinaryMarshaller<TFPMessage>
tfpMessage
(BinaryMarshallerConfig config) Marshaller forTFPMessage
s.static BinaryMarshaller<Iterator<TransportFrame>>
Marshaller for streams of TransportFrames with default configuration.static BinaryMarshaller<Iterator<TransportFrame>>
Marshaller for streams of TransportFrames.
-
Constructor Details
-
BinaryMarshallers
public BinaryMarshallers()
-
-
Method Details
-
transportFrames
Marshaller for streams of TransportFrames with default configuration.Reads a TpegStream as specified by SFW A.2.2.1.1.
This does not implement the synchronization method described in SFW A.2.2.1.3, so this cannot be used to parse information out of an inputStream that starts in the middle of a frame. This should be sufficient for client and server use cases that work with full frames or streams, but not for consuming raw radio signals unless frame synchronisation is performed first.
This marshaller will use the default UTF-8 character encoding, regardless of what character encoding is specified in the SNI fast tuning table.
Note that we don't have a marshaller for
TPEGDocument
s, because TPEGDocument has no binary representation of its own, and has required fields that cannot be read from a binary representation. -
transportFrames
public static BinaryMarshaller<Iterator<TransportFrame>> transportFrames(BinaryMarshallerConfig config) Marshaller for streams of TransportFrames.Reads a TpegStream as specified by SFW A.2.2.1.1.
This does not implement the synchronization method described in SFW A.2.2.1.3, so this cannot be used to parse information out of an inputStream that starts in the middle of a frame. This should be sufficient for client and server use cases that work with full frames or streams, but not for consuming raw radio signals unless frame synchronisation is performed first.
This marshaller will use the character encoding specified in the configuration, regardless of what character encoding is specified in the SNI fast tuning table.
Note that we don't have a marshaller for
TPEGDocument
s, because TPEGDocument has no binary representation of its own, and has required fields that cannot be read from a binary representation. -
tecMessage
Marshaller forTECMessage
s with default configuration. -
tecMessage
Marshaller forTECMessage
s. -
tfpMessage
Marshaller forTFPMessage
s with default configuration. -
tfpMessage
Marshaller forTFPMessage
s. -
openLRLocationReference
Marshaller forOpenLRLocationReference
s with default configuration. -
openLRLocationReference
public static BinaryMarshaller<OpenLRLocationReference> openLRLocationReference(BinaryMarshallerConfig config) Marshaller forOpenLRLocationReference
s.
-