public class RadioCommunicationsFamilyPdu extends Pdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected EntityID |
entityId
ID of the entitythat is the source of the communication
|
protected int |
radioId
particular radio within an entity
|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
RadioCommunicationsFamilyPdu()
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 |
getEntityId() |
int |
getMarshalledSize() |
int |
getRadioId() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setEntityId(EntityID pEntityId) |
void |
setRadioId(int pRadioId) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
getExerciseID, getLength, getPadding, getPduLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, marshalWithDisAbsoluteTimestamp, marshalWithDisAbsoluteTimestamp, marshalWithDisRelativeTimestamp, marshalWithDisRelativeTimestamp, marshalWithNpsTimestamp, marshalWithNpsTimestamp, marshalWithUnixTimestamp, marshalWithUnixTimestamp, readUnsignedInt, readUnsignedInt, setExerciseID, setPadding, setPduLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected EntityID entityId
protected int radioId
public int getMarshalledSize()
getMarshalledSize
in class Pdu
public void setEntityId(EntityID pEntityId)
public EntityID getEntityId()
public void setRadioId(int pRadioId)
public int getRadioId()
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