public class WarfareFamilyPdu extends Pdu implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected EntityID |
firingEntityID
ID of the entity that shot
|
protected EntityID |
targetEntityID
ID of the entity that is being shot at
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp| Constructor and Description |
|---|
WarfareFamilyPdu()
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 |
EntityID |
getFiringEntityID() |
int |
getMarshalledSize() |
EntityID |
getTargetEntityID() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setFiringEntityID(EntityID pFiringEntityID) |
void |
setTargetEntityID(EntityID pTargetEntityID) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
getPadding, getPduStatus, marshal, setPadding, setPduStatusgetExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestampprotected EntityID firingEntityID
protected EntityID targetEntityID
public int getMarshalledSize()
getMarshalledSize in class Pdupublic void setFiringEntityID(EntityID pFiringEntityID)
public EntityID getFiringEntityID()
public void setTargetEntityID(EntityID pTargetEntityID)
public EntityID getTargetEntityID()
public void marshal(java.nio.ByteBuffer buff)
public void unmarshal(java.nio.ByteBuffer buff)
public boolean equalsImpl(java.lang.Object obj)
PduSuperclassthis and the supplied objectequalsImpl in class Pduobj - the object to compare to