public class AcknowledgePdu extends SimulationManagementFamilyPdu implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int |
acknowledgeFlag
type of message being acknowledged
|
protected long |
requestID
Request ID that is unique
|
protected int |
responseFlag
Whether or not the receiving entity was able to comply with the request
|
originatingEntityID, receivingEntityIDexerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp| Constructor and Description |
|---|
AcknowledgePdu()
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 |
getAcknowledgeFlag() |
int |
getMarshalledSize() |
long |
getRequestID() |
int |
getResponseFlag() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setAcknowledgeFlag(int pAcknowledgeFlag) |
void |
setRequestID(long pRequestID) |
void |
setResponseFlag(int pResponseFlag) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
getOriginatingEntityID, getReceivingEntityID, setOriginatingEntityID, setReceivingEntityIDgetExerciseID, getLength, getPadding, getPduLength, getPduType, getPduTypeEnum, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, marshalWithDisAbsoluteTimestamp, marshalWithDisAbsoluteTimestamp, marshalWithDisRelativeTimestamp, marshalWithDisRelativeTimestamp, marshalWithNpsTimestamp, marshalWithNpsTimestamp, marshalWithUnixTimestamp, marshalWithUnixTimestamp, readUnsignedInt, readUnsignedInt, setExerciseID, setPadding, setPduLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestampprotected int acknowledgeFlag
protected int responseFlag
protected long requestID
public int getMarshalledSize()
getMarshalledSize in class SimulationManagementFamilyPdupublic void setAcknowledgeFlag(int pAcknowledgeFlag)
public int getAcknowledgeFlag()
public void setResponseFlag(int pResponseFlag)
public int getResponseFlag()
public void setRequestID(long pRequestID)
public long getRequestID()
public void marshal(java.io.DataOutputStream dos)
marshal in class SimulationManagementFamilyPdupublic void unmarshal(java.io.DataInputStream dis)
unmarshal in class SimulationManagementFamilyPdupublic void marshal(java.nio.ByteBuffer buff)
marshal in class SimulationManagementFamilyPdubuff - 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 SimulationManagementFamilyPdubuff - The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException - if buff is too smallByteBufferpublic boolean equals(java.lang.Object obj)
equals in class SimulationManagementFamilyPdupublic boolean equalsImpl(java.lang.Object obj)
Pduthis and the supplied objectequalsImpl in class SimulationManagementFamilyPduobj - the object to compare to