Class BinaryMarshallers
BinaryMarshallers.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMarshaller forOpenLRLocationReferences with default configuration.Marshaller forOpenLRLocationReferences.static BinaryMarshaller<TECMessage>Marshaller forTECMessages with default configuration.static BinaryMarshaller<TECMessage>tecMessage(BinaryMarshallerConfig config) Marshaller forTECMessages.static BinaryMarshaller<TFPMessage>Marshaller forTFPMessages with default configuration.static BinaryMarshaller<TFPMessage>tfpMessage(BinaryMarshallerConfig config) Marshaller forTFPMessages.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
TPEGDocuments, 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
TPEGDocuments, because TPEGDocument has no binary representation of its own, and has required fields that cannot be read from a binary representation. -
tecMessage
Marshaller forTECMessages with default configuration. -
tecMessage
Marshaller forTECMessages. -
tfpMessage
Marshaller forTFPMessages with default configuration. -
tfpMessage
Marshaller forTFPMessages. -
openLRLocationReference
Marshaller forOpenLRLocationReferences with default configuration. -
openLRLocationReference
public static BinaryMarshaller<OpenLRLocationReference> openLRLocationReference(BinaryMarshallerConfig config) Marshaller forOpenLRLocationReferences.
-