Class FieldPositions
-
- All Implemented Interfaces:
public final class FieldPositionsHelper class to hold fixed field positions in a RSCP frame. All data in byte
- Since:
2.0
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerframeDataSectionprivate final IntegerdataValueSectionprivate final IntegerframeHeaderMagicBytesprivate final IntegerframeHeaderControlBytesprivate final IntegerframeHeaderDataLengthprivate final IntegerframeHeaderTimestampEpochSecondsprivate final IntegerframeHeaderTimestampEpochNanosprivate final IntegerdataTagprivate final IntegerdataTypeprivate final IntegerdataValueLength
-
Method Summary
Modifier and Type Method Description final IntegergetFrameDataSection()Position of the data section in bytes within a frame final IntegergetDataValueSection()Position of the data section within a single data block of a frame final IntegergetFrameHeaderMagicBytes()final IntegergetFrameHeaderControlBytes()final IntegergetFrameHeaderDataLength()final IntegergetFrameHeaderTimestampEpochSeconds()final IntegergetFrameHeaderTimestampEpochNanos()final IntegergetDataTag()final IntegergetDataType()final IntegergetDataValueLength()-
-
Constructor Detail
-
FieldPositions
FieldPositions(Integer frameHeaderMagicBytes, Integer frameHeaderControlBytes, Integer frameHeaderDataLength, Integer frameHeaderTimestampEpochSeconds, Integer frameHeaderTimestampEpochNanos, Integer dataTag, Integer dataType, Integer dataValueLength)
- Parameters:
frameHeaderMagicBytes- Position of the MagicBytes area in a FrameHeader in bytesframeHeaderControlBytes- Position of the control area in a FrameHeader in bytesframeHeaderDataLength- Position of the length specification field in a frame header in bytesframeHeaderTimestampEpochSeconds- Position in bytes, of the seconds part in a FrameHeader in bytesframeHeaderTimestampEpochNanos- Position in bytes, of the nanos part in a FrameHeader in bytesdataTag- Position in bytes, of the tag section in a single datasection of a framedataType- Position in bytes, of the type section in a single datasection of a framedataValueLength- Position in bytes, of the length section in a single datasection of a frame
-
-
Method Detail
-
getFrameDataSection
final Integer getFrameDataSection()
Position of the data section in bytes within a frame
-
getDataValueSection
final Integer getDataValueSection()
Position of the data section within a single data block of a frame
-
getFrameHeaderMagicBytes
final Integer getFrameHeaderMagicBytes()
-
getFrameHeaderControlBytes
final Integer getFrameHeaderControlBytes()
-
getFrameHeaderDataLength
final Integer getFrameHeaderDataLength()
-
getFrameHeaderTimestampEpochSeconds
final Integer getFrameHeaderTimestampEpochSeconds()
-
getFrameHeaderTimestampEpochNanos
final Integer getFrameHeaderTimestampEpochNanos()
-
getDataTag
final Integer getDataTag()
-
getDataType
final Integer getDataType()
-
getDataValueLength
final Integer getDataValueLength()
-
-
-
-