|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmil.navy.nps.dis.PduElement
mil.navy.nps.dis.ProtocolDataUnit
mil.navy.nps.dis.SimulationManagementFamily
mil.navy.nps.dis.AcknowledgePdu
Simulation management PDU to acknowledge other simulation management PDUs.
ProtocolDataUnit,
PduElement,
SerializationInterface,
CreateEntityPdu,
RemoveEntityPdu,
StartResumePdu,
StopFreezePdu,
AcknowledgePdu,
ActionRequestPdu,
ActionResponsePdu,
DataQueryPdu,
SetDataPdu,
DataPdu,
EventReportPdu,
CommentPdu| Field Summary | |
protected UnsignedShort |
acknowledgeFlag
Acknowledge Flag - This field shall indicate what type of message has been acknowledged. |
protected static AcknowledgePdu |
exemplar
An "exemplar" object, which is filled out to the state that is needed most of the time. |
protected UnsignedInt |
requestID
Request ID - This field shall identify the matching response to the specific a Start/Resume, Stop/Freeze, Create Entity, or Remove Entity PDU sent by the simulation manager. |
protected UnsignedShort |
responseFlag
Reponse flag - This field shall indicate whether or not the receiving entity was able to comply with the request, and for what reason. |
static int |
sizeOf
Constant value--size of a full Acknowledge PDU with header. |
| Fields inherited from class mil.navy.nps.dis.SimulationManagementFamily |
originatingEntityID, receivingEntityID |
| Fields inherited from class mil.navy.nps.dis.ProtocolDataUnit |
DEBUG, exerciseID, pduType, protocolFamily, protocolVersion, timeReceived, timestamp |
| Constructor Summary | |
AcknowledgePdu()
Default constructor--fills with zeros for all values. |
|
| Method Summary | |
java.lang.Object |
clone()
Clone the CommentPdu, being careful to not share any pointers between the new object and the old object. |
void |
deSerialize(java.io.DataInputStream inputStream)
deserialize our data from the stream. |
UnsignedShort |
getAcknowledgeFlag()
|
AcknowledgePdu |
getExemplar()
|
UnsignedInt |
getRequestID()
|
UnsignedShort |
getResponseFlag()
|
int |
length()
Returns the length of the PDU header. |
java.lang.String |
pduName()
Returns the name of this PDU |
void |
printValues(int indentLevel,
java.io.PrintStream printStream)
Prints the generated serialized object for debugging. |
void |
serialize(java.io.DataOutputStream outputStream)
Serialize our data out to the stream. |
void |
setAcknowledgeFlag(int pAcknowledgeFlag)
|
void |
setAcknowledgeFlag(UnsignedShort pAcknowledgeFlag)
|
void |
setExemplar(AcknowledgePdu newExemplar)
|
void |
setRequestID(int pRequestID)
|
void |
setRequestID(UnsignedInt pRequestID)
|
void |
setResponseFlag(int pResponseFlag)
|
void |
setResponseFlag(UnsignedShort pResponseFlag)
|
| Methods inherited from class mil.navy.nps.dis.SimulationManagementFamily |
getOriginatingEntityID, getReceivingEntityID, setOriginatingEntityID, setReceivingEntityID |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected UnsignedShort acknowledgeFlag
protected UnsignedShort responseFlag
protected UnsignedInt requestID
public static final int sizeOf
sizeOf = 32 bytes
protected static AcknowledgePdu exemplar
| Constructor Detail |
public AcknowledgePdu()
| Method Detail |
public void serialize(java.io.DataOutputStream outputStream)
serialize in interface SerializationInterfaceserialize in class SimulationManagementFamilypublic void deSerialize(java.io.DataInputStream inputStream)
deSerialize in interface SerializationInterfacedeSerialize in class SimulationManagementFamilypublic java.lang.Object clone()
clone in class SimulationManagementFamilypublic int length()
ProtocolDataUnit
length in class SimulationManagementFamilypublic java.lang.String pduName()
SimulationManagementFamily
pduName in class SimulationManagementFamily
public void printValues(int indentLevel,
java.io.PrintStream printStream)
PduElement
printValues in class SimulationManagementFamilypublic AcknowledgePdu getExemplar()
public void setExemplar(AcknowledgePdu newExemplar)
public UnsignedShort getAcknowledgeFlag()
public void setAcknowledgeFlag(UnsignedShort pAcknowledgeFlag)
public void setAcknowledgeFlag(int pAcknowledgeFlag)
public UnsignedShort getResponseFlag()
public void setResponseFlag(UnsignedShort pResponseFlag)
public void setResponseFlag(int pResponseFlag)
public UnsignedInt getRequestID()
public void setRequestID(UnsignedInt pRequestID)
public void setRequestID(int pRequestID)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||