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, padding, pduLength, 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) |
getExerciseID, getLength, getPadding, getPduLength, getPduType, getPduTypeEnum, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, marshalWithDisAbsoluteTimestamp, marshalWithDisAbsoluteTimestamp, marshalWithDisRelativeTimestamp, marshalWithDisRelativeTimestamp, marshalWithNpsTimestamp, marshalWithNpsTimestamp, marshalWithUnixTimestamp, marshalWithUnixTimestamp, readUnsignedInt, readUnsignedInt, setExerciseID, setPadding, setPduLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected EntityID firingEntityID
protected EntityID targetEntityID
public int getMarshalledSize()
getMarshalledSize
in class Pdu
public 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)
Pdu
this
and the supplied objectequalsImpl
in class Pdu
obj
- the object to compare to