|
||||||||||
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.ActionRequestPdu
Simulation management PDU to request an exercise action by a managed entity.
ProtocolDataUnit
,
PduElement
,
SerializationInterface
,
CreateEntityPdu
,
RemoveEntityPdu
,
StartResumePdu
,
StopFreezePdu
,
AcknowledgePdu
,
ActionRequestPdu
,
ActionResponsePdu
,
DataQueryPdu
,
SetDataPdu
,
DataPdu
,
EventReportPdu
,
CommentPdu
Field Summary | |
protected UnsignedInt |
actionID
Action ID - This field shall specify the particular action that is requested by the simulation manager. |
protected DatumSpecification |
datumInformation
Datum Information - This field shall specify the types of datum and the value of the datum to be communicated. |
protected static ActionRequestPdu |
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 request being made by the simulation manager. |
static int |
sizeOf
Constant value--size of an Action Request PDU without headder nor Datumspecification Record. |
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 | |
ActionRequestPdu()
Default constructor--fills with zeros for all values. |
Method Summary | |
java.lang.Object |
clone()
Makes deep copies of all the instance variables, so we don't have two objects pointing to the same data. |
void |
deSerialize(java.io.DataInputStream inputStream)
Deserialize our data from the input stream. |
UnsignedInt |
getActionID()
|
DatumSpecification |
getDatumInformation()
|
ActionRequestPdu |
getExemplar()
|
UnsignedInt |
getRequestID()
|
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 |
setActionID(long pActionID)
|
void |
setDatumInformation(DatumSpecification pDatumSpecification)
|
void |
setExemplar(ActionRequestPdu newExemplar)
|
void |
setRequestID(long pRequestID)
|
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 UnsignedInt requestID
protected UnsignedInt actionID
protected DatumSpecification datumInformation
public static final int sizeOf
sizeOf = 8 bytes
protected static ActionRequestPdu exemplar
Constructor Detail |
public ActionRequestPdu()
Method Detail |
public java.lang.String pduName()
SimulationManagementFamily
pduName
in class SimulationManagementFamily
public void serialize(java.io.DataOutputStream outputStream)
PduElement
super.Serialize()
to make sure
the superclasse's data is serialized out. The order
in which instance variables are serialized is significant. They must
be serialized in the same order they appear in the DIS
spec.
Prints out some information during execution if debugging flag is set.
serialize
in interface SerializationInterface
serialize
in class SimulationManagementFamily
public void deSerialize(java.io.DataInputStream inputStream)
PduElement
super.deSerialize
to make sure
the superclass's data are properly affected. The order
in which instance variables are serialized is significant. They must
be deSerialized in the same order as they have been serialized as specified by the DIS spec.
deSerialize
in interface SerializationInterface
deSerialize
in class SimulationManagementFamily
public java.lang.Object clone()
PduElement
clone
in class SimulationManagementFamily
public int length()
ProtocolDataUnit
length
in class SimulationManagementFamily
public void printValues(int indentLevel, java.io.PrintStream printStream)
PduElement
printValues
in class SimulationManagementFamily
public ActionRequestPdu getExemplar()
public void setExemplar(ActionRequestPdu newExemplar)
public UnsignedInt getRequestID()
public void setRequestID(long pRequestID)
public UnsignedInt getActionID()
public void setActionID(long pActionID)
public DatumSpecification getDatumInformation()
public void setDatumInformation(DatumSpecification pDatumSpecification)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |