public class BinaryDynamicObject extends BinaryObject
BinaryObject
CONFIG_OBJ_HEADER_SIZE, CONFIGURATION_OBJECT_TYPE, DYN_OBJ_HEADER_SIZE, DYNAMIC_OBJECT_TYPE
Constructor | Description |
---|---|
BinaryDynamicObject(long objectId,
int pidHashCode,
long typeId,
long firstInvalid,
long firstValid,
short simulationVariant,
byte[] packedBytes) |
Modifier and Type | Method | Description |
---|---|---|
long |
getFirstInvalid() |
|
long |
getFirstValid() |
|
long |
getObjectId() |
Gibt die Objekt-ID zurück
|
byte[] |
getPackedBytes() |
Gibt die gepackten Bytes zurück.
|
int |
getPidHashCode() |
Gibt den Pid-Hashcode zurück
|
short |
getSimulationVariant() |
|
long |
getTypeId() |
Gibt die ID des Objekttyps zuück
|
DynamicObjectInformation |
toSystemObjectInfo(ConfigAreaFile file,
long position) |
|
int |
write(java.io.DataOutput output) |
Schreibt das Objekt in den Ausgabe-Stream
|
fromDataInput
public BinaryDynamicObject(long objectId, int pidHashCode, long typeId, long firstInvalid, long firstValid, short simulationVariant, byte[] packedBytes)
public long getObjectId()
BinaryObject
getObjectId
in class BinaryObject
public int getPidHashCode()
BinaryObject
getPidHashCode
in class BinaryObject
public long getTypeId()
BinaryObject
getTypeId
in class BinaryObject
public long getFirstInvalid()
public long getFirstValid()
public short getSimulationVariant()
public byte[] getPackedBytes()
BinaryObject
getPackedBytes
in class BinaryObject
public int write(java.io.DataOutput output) throws java.io.IOException
BinaryObject
write
in class BinaryObject
output
- Ausgabejava.io.IOException
public DynamicObjectInformation toSystemObjectInfo(ConfigAreaFile file, long position) throws java.io.IOException, de.bsvrz.sys.funclib.dataSerializer.NoSuchVersionException
toSystemObjectInfo
in class BinaryObject
java.io.IOException
de.bsvrz.sys.funclib.dataSerializer.NoSuchVersionException