public abstract class SimulationManagementWithReliabilityFamilyPdu extends PduBase implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected SimulationIdentifier |
originatingID
IDs the simulation or entity, either a simulation or an entity.
|
protected SimulationIdentifier |
receivingID
simulation, all simulations, a special ID, or an entity.
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
SimulationManagementWithReliabilityFamilyPdu()
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()
Returns the size of this serialized object in bytes
|
SimulationIdentifier |
getOriginatingID()
Getter for
originatingID |
SimulationIdentifier |
getReceivingID()
Getter for
receivingID |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
SimulationManagementWithReliabilityFamilyPdu |
setOriginatingID(SimulationIdentifier pOriginatingID)
Setter for
originatingID |
SimulationManagementWithReliabilityFamilyPdu |
setReceivingID(SimulationIdentifier pReceivingID)
Setter for
receivingID |
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, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected SimulationIdentifier originatingID
protected SimulationIdentifier receivingID
public SimulationManagementWithReliabilityFamilyPdu()
public int getMarshalledSize()
getMarshalledSize
in class PduBase
public SimulationManagementWithReliabilityFamilyPdu setOriginatingID(SimulationIdentifier pOriginatingID)
originatingID
public SimulationIdentifier getOriginatingID()
originatingID
public SimulationManagementWithReliabilityFamilyPdu setReceivingID(SimulationIdentifier pReceivingID)
receivingID
public SimulationIdentifier getReceivingID()
receivingID
public void marshal(java.io.DataOutputStream dos)
public int unmarshal(java.io.DataInputStream dis)
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class PduBase
obj
- the object to compare to