public class ArticulatedPartsPdu extends LiveEntityFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected EntityID |
liveEntityId |
protected byte |
numberOfParameterRecords |
protected java.util.List<VariableParameter> |
variableParameters |
padding, subprotocolNumber
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
ArticulatedPartsPdu()
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 |
EntityID |
getLiveEntityId()
Getter for
liveEntityId |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
java.util.List<VariableParameter> |
getVariableParameters()
Getter for
variableParameters |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
ArticulatedPartsPdu |
setLiveEntityId(EntityID pLiveEntityId)
Setter for
liveEntityId |
ArticulatedPartsPdu |
setVariableParameters(java.util.List<VariableParameter> pVariableParameters)
Setter for
variableParameters |
int |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
int |
unmarshal(java.io.DataInputStream dis)
Unserializes an object from a DataInputStream.
|
getPadding, getSubprotocolNumber, setPadding, setSubprotocolNumber
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected EntityID liveEntityId
protected byte numberOfParameterRecords
protected java.util.List<VariableParameter> variableParameters
public int getMarshalledSize()
getMarshalledSize
in class LiveEntityFamilyPdu
public ArticulatedPartsPdu setLiveEntityId(EntityID pLiveEntityId)
liveEntityId
public EntityID getLiveEntityId()
liveEntityId
public ArticulatedPartsPdu setVariableParameters(java.util.List<VariableParameter> pVariableParameters)
variableParameters
public java.util.List<VariableParameter> getVariableParameters()
variableParameters
public void marshal(java.io.DataOutputStream dos)
marshal
in class LiveEntityFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class LiveEntityFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
marshal
in class LiveEntityFamilyPdu
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyjava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
unmarshal
in class LiveEntityFamilyPdu
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smalljava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class LiveEntityFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class LiveEntityFamilyPdu
obj
- the object to compare to