public class StopFreezeRPdu extends SimulationManagementWithReliabilityFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected StopFreezeFrozenBehavior |
frozenBehavior
internal behvior of the simulation while frozen uid 68
|
protected byte |
pad1
padding
|
protected ClockTime |
realWorldTime
time in real world for this operation to happen
|
protected StopFreezeReason |
reason
Reason for stopping/freezing simulation uid 67
|
protected int |
requestID
Request ID
|
protected RequiredReliabilityService |
requiredReliablityService
reliablity level uid 74
|
originatingID, receivingID
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
StopFreezeRPdu()
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 |
StopFreezeFrozenBehavior |
getFrozenBehavior()
Setter for
frozenBehavior |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
byte |
getPad1()
Getter for
pad1 |
ClockTime |
getRealWorldTime()
Getter for
realWorldTime |
StopFreezeReason |
getReason()
Getter for
reason |
int |
getRequestID()
Getter for
requestID |
RequiredReliabilityService |
getRequiredReliablityService()
Getter for
requiredReliablityService |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
StopFreezeRPdu |
setFrozenBehavior(StopFreezeFrozenBehavior pFrozenBehavior)
Setter for
frozenBehavior |
StopFreezeRPdu |
setPad1(byte pPad1)
Setter for
pad1 |
StopFreezeRPdu |
setRealWorldTime(ClockTime pRealWorldTime)
Setter for
realWorldTime |
StopFreezeRPdu |
setReason(StopFreezeReason pReason)
Setter for
reason |
StopFreezeRPdu |
setRequestID(int pRequestID)
Setter for
requestID |
StopFreezeRPdu |
setRequiredReliablityService(RequiredReliabilityService pRequiredReliablityService)
Setter for
requiredReliablityService |
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.
|
getOriginatingID, getReceivingID, setOriginatingID, setReceivingID
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected ClockTime realWorldTime
protected StopFreezeReason reason
protected StopFreezeFrozenBehavior frozenBehavior
protected RequiredReliabilityService requiredReliablityService
protected byte pad1
protected int requestID
public int getMarshalledSize()
getMarshalledSize
in class SimulationManagementWithReliabilityFamilyPdu
public StopFreezeRPdu setRealWorldTime(ClockTime pRealWorldTime)
realWorldTime
public ClockTime getRealWorldTime()
realWorldTime
public StopFreezeRPdu setReason(StopFreezeReason pReason)
reason
public StopFreezeReason getReason()
reason
public StopFreezeRPdu setFrozenBehavior(StopFreezeFrozenBehavior pFrozenBehavior)
frozenBehavior
public StopFreezeFrozenBehavior getFrozenBehavior()
frozenBehavior
public StopFreezeRPdu setRequiredReliablityService(RequiredReliabilityService pRequiredReliablityService)
requiredReliablityService
public RequiredReliabilityService getRequiredReliablityService()
requiredReliablityService
public StopFreezeRPdu setPad1(byte pPad1)
pad1
public byte getPad1()
pad1
public StopFreezeRPdu setRequestID(int pRequestID)
requestID
public int getRequestID()
requestID
public void marshal(java.io.DataOutputStream dos)
marshal
in class SimulationManagementWithReliabilityFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class SimulationManagementWithReliabilityFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
marshal
in class SimulationManagementWithReliabilityFamilyPdu
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 SimulationManagementWithReliabilityFamilyPdu
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 SimulationManagementWithReliabilityFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class SimulationManagementWithReliabilityFamilyPdu
obj
- the object to compare to