public class ElectronicEmissionsPdu extends DistributedEmissionsFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected EntityID |
emittingEntityID
ID of the entity emitting
|
protected EventID |
eventID
ID of event
|
protected short |
numberOfSystems
This field shall specify the number of emission systems being described in the current PDU.
|
protected int |
paddingForEmissionsPdu
padding
|
protected short |
stateUpdateIndicator
This field shall be used to indicate if the data in the PDU represents a state update or just data that has changed since issuance of the last Electromagnetic Emission PDU [relative to the identified entity and emission system(s)].
|
protected java.util.List<ElectronicEmissionSystemData> |
systems
Electronic emmissions systems
|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
ElectronicEmissionsPdu()
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 |
getEmittingEntityID() |
EventID |
getEventID() |
int |
getMarshalledSize() |
short |
getNumberOfSystems() |
int |
getPaddingForEmissionsPdu() |
short |
getStateUpdateIndicator() |
java.util.List<ElectronicEmissionSystemData> |
getSystems() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setEmittingEntityID(EntityID pEmittingEntityID) |
void |
setEventID(EventID pEventID) |
void |
setNumberOfSystems(short pNumberOfSystems)
Note that setting this value will not change the marshalled value.
|
void |
setPaddingForEmissionsPdu(int pPaddingForEmissionsPdu) |
void |
setStateUpdateIndicator(short pStateUpdateIndicator) |
void |
setSystems(java.util.List<ElectronicEmissionSystemData> pSystems) |
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 emittingEntityID
protected EventID eventID
protected short stateUpdateIndicator
protected short numberOfSystems
protected int paddingForEmissionsPdu
protected java.util.List<ElectronicEmissionSystemData> systems
public int getMarshalledSize()
getMarshalledSize
in class DistributedEmissionsFamilyPdu
public void setEmittingEntityID(EntityID pEmittingEntityID)
public EntityID getEmittingEntityID()
public void setEventID(EventID pEventID)
public EventID getEventID()
public void setStateUpdateIndicator(short pStateUpdateIndicator)
public short getStateUpdateIndicator()
public short getNumberOfSystems()
public void setNumberOfSystems(short pNumberOfSystems)
public void setPaddingForEmissionsPdu(int pPaddingForEmissionsPdu)
public int getPaddingForEmissionsPdu()
public void setSystems(java.util.List<ElectronicEmissionSystemData> pSystems)
public java.util.List<ElectronicEmissionSystemData> getSystems()
public void marshal(java.io.DataOutputStream dos)
marshal
in class DistributedEmissionsFamilyPdu
public void unmarshal(java.io.DataInputStream dis)
unmarshal
in class DistributedEmissionsFamilyPdu
public void marshal(java.nio.ByteBuffer buff)
marshal
in class DistributedEmissionsFamilyPdu
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
unmarshal
in class DistributedEmissionsFamilyPdu
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smallByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class DistributedEmissionsFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class DistributedEmissionsFamilyPdu
obj
- the object to compare to