public abstract class BaseSegment extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
FORMAT_ID_BinaryValueSegment |
static byte |
FORMAT_ID_BooleanValueSegment |
static byte |
FORMAT_ID_DoubleValueSegment |
static byte |
FORMAT_ID_FloatValueSegment |
static byte |
FORMAT_ID_GenericValueSegment |
static byte |
FORMAT_ID_IntValueSegment |
static byte |
FORMAT_ID_LongValueSegment |
static byte |
FORMAT_ID_OldBooleanValueSegment
Deprecated.
|
static byte |
FORMAT_ID_ParameterStatusSegment |
static byte |
FORMAT_ID_SortedTimeValueSegment |
static byte |
FORMAT_ID_StringValueSegment |
protected byte |
formatId |
| Modifier and Type | Method and Description |
|---|---|
byte |
getFormatId() |
abstract int |
getMaxSerializedSize() |
static BaseSegment |
parseSegment(byte formatId,
long segmentStart,
ByteBuffer bb) |
abstract int |
size() |
abstract void |
writeTo(ByteBuffer buf) |
public static final byte FORMAT_ID_SortedTimeValueSegment
public static final byte FORMAT_ID_ParameterStatusSegment
public static final byte FORMAT_ID_GenericValueSegment
public static final byte FORMAT_ID_IntValueSegment
public static final byte FORMAT_ID_StringValueSegment
@Deprecated public static final byte FORMAT_ID_OldBooleanValueSegment
public static final byte FORMAT_ID_FloatValueSegment
public static final byte FORMAT_ID_DoubleValueSegment
public static final byte FORMAT_ID_LongValueSegment
public static final byte FORMAT_ID_BinaryValueSegment
public static final byte FORMAT_ID_BooleanValueSegment
protected byte formatId
public abstract void writeTo(ByteBuffer buf)
public abstract int getMaxSerializedSize()
public byte getFormatId()
public static BaseSegment parseSegment(byte formatId, long segmentStart, ByteBuffer bb) throws DecodingException
DecodingExceptionpublic abstract int size()
Copyright © 2018 Space Applications Services. All rights reserved.