|
||||||||||
| 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
Abstract (uninstantiated) parent class for Simulation Management PDU family.
ProtocolDataUnit,
PduElement,
SerializationInterface| Field Summary | |
protected EntityID |
originatingEntityID
Identifier of the entity originating the PDU. |
protected EntityID |
receivingEntityID
Identifier of the entity receiving the PDU. |
static int |
sizeOf
Constant value--size of a Simulation Management PDU without headder. |
| Fields inherited from class mil.navy.nps.dis.ProtocolDataUnit |
DEBUG, exerciseID, pduType, protocolFamily, protocolVersion, timeReceived, timestamp |
| Constructor Summary | |
SimulationManagementFamily()
|
|
| 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. |
EntityID |
getOriginatingEntityID()
|
EntityID |
getReceivingEntityID()
|
int |
length()
Returns the length of the PDU header. |
abstract 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 |
setOriginatingEntityID(EntityID pEntityID)
|
void |
setReceivingEntityID(EntityID pEntityID)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected EntityID originatingEntityID
protected EntityID receivingEntityID
public static final int sizeOf
sizeOf = 12 bytes
| Constructor Detail |
public SimulationManagementFamily()
| Method Detail |
public void serialize(java.io.DataOutputStream outputStream)
PduElementsuper.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 SerializationInterfaceserialize in class ProtocolDataUnitpublic void deSerialize(java.io.DataInputStream inputStream)
PduElementsuper.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 SerializationInterfacedeSerialize in class ProtocolDataUnitpublic java.lang.Object clone()
PduElement
clone in class ProtocolDataUnitpublic int length()
ProtocolDataUnit
length in class ProtocolDataUnitpublic abstract java.lang.String pduName()
pduName in class ProtocolDataUnit
public void printValues(int indentLevel,
java.io.PrintStream printStream)
PduElement
printValues in class ProtocolDataUnitpublic EntityID getOriginatingEntityID()
public void setOriginatingEntityID(EntityID pEntityID)
public EntityID getReceivingEntityID()
public void setReceivingEntityID(EntityID pEntityID)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||