public class LiveEntityPdu extends PduSuperclass implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected short |
padding
zero-filled array of padding
|
protected int |
subprotocolNumber
Subprotocol used to decode the PDU.
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp| Constructor and Description |
|---|
LiveEntityPdu()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equalsImpl(java.lang.Object obj)
Compare all fields that contribute to the state, ignoring
transient and static fields, for
this and the supplied object |
int |
getMarshalledSize() |
short |
getPadding() |
int |
getSubprotocolNumber() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setPadding(short pPadding) |
void |
setSubprotocolNumber(int pSubprotocolNumber) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestampprotected int subprotocolNumber
protected short padding
public int getMarshalledSize()
getMarshalledSize in class PduSuperclasspublic void setSubprotocolNumber(int pSubprotocolNumber)
public int getSubprotocolNumber()
public void setPadding(short pPadding)
public short getPadding()
public void marshal(java.io.DataOutputStream dos)
marshal in class PduSuperclasspublic void unmarshal(java.io.DataInputStream dis)
unmarshal in class PduSuperclasspublic void marshal(java.nio.ByteBuffer buff)
marshal in class PduSuperclassbuff - The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException - if buff is too smalljava.nio.ReadOnlyBufferException - if buff is read onlyByteBufferpublic void unmarshal(java.nio.ByteBuffer buff)
unmarshal in class PduSuperclassbuff - The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException - if buff is too smallByteBufferpublic boolean equals(java.lang.Object obj)
equals in class PduSuperclasspublic boolean equalsImpl(java.lang.Object obj)
PduSuperclassthis and the supplied objectequalsImpl in class PduSuperclassobj - the object to compare to