public abstract class SubRecord
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
SubRecord() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
clone() |
static SubRecord |
createSubRecord(LittleEndianInput in,
int cmoOt)
read a sub-record from the supplied stream
|
protected abstract int |
getDataSize() |
boolean |
isTerminating()
Wether this record terminates the sub-record stream.
|
byte[] |
serialize() |
abstract void |
serialize(LittleEndianOutput out) |
public static SubRecord createSubRecord(LittleEndianInput in, int cmoOt)
in
- the stream to read fromcmoOt
- the objectType field of the containing CommonObjectDataSubRecord,
we need it to propagate to next sub-records as it defines what data followsprotected abstract int getDataSize()
public byte[] serialize()
public abstract void serialize(LittleEndianOutput out)
public abstract java.lang.Object clone()
clone
in class java.lang.Object
public boolean isTerminating()
true
- EndSubRecord (sid = 0x00)
- LbsDataSubRecord (sid = 0x12)Copyright © 2005-2010 Potix Corporation. All Rights Reserved.