public class ElectromagneticEmissionPdu extends DistributedEmissionsFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected EntityID |
emittingEntityID
ID of the entity emitting
|
protected EventIdentifier |
eventID
ID of event
|
protected byte |
numberOfSystems
This field shall specify the number of emission systems being described in the current PDU.
|
protected short |
paddingForEmissionsPdu
padding
|
protected ElectromagneticEmissionStateUpdateIndicator |
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<ElectronicEmitter> |
systems
Electronic emmissions systems
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
ElectromagneticEmissionPdu()
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()
Getter for
emittingEntityID |
EventIdentifier |
getEventID()
Getter for
eventID |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
short |
getPaddingForEmissionsPdu()
Getter for
paddingForEmissionsPdu |
ElectromagneticEmissionStateUpdateIndicator |
getStateUpdateIndicator()
Getter for
stateUpdateIndicator |
java.util.List<ElectronicEmitter> |
getSystems()
Getter for
systems |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
ElectromagneticEmissionPdu |
setEmittingEntityID(EntityID pEmittingEntityID)
Setter for
emittingEntityID |
ElectromagneticEmissionPdu |
setEventID(EventIdentifier pEventID)
Setter for
eventID |
ElectromagneticEmissionPdu |
setPaddingForEmissionsPdu(short pPaddingForEmissionsPdu)
Setter for
paddingForEmissionsPdu |
ElectromagneticEmissionPdu |
setStateUpdateIndicator(ElectromagneticEmissionStateUpdateIndicator pStateUpdateIndicator)
Setter for
stateUpdateIndicator |
ElectromagneticEmissionPdu |
setSystems(java.util.List<ElectronicEmitter> pSystems)
Setter for
systems |
int |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
int |
unmarshal(java.io.DataInputStream dis)
Unserializes an object from a DataInputStream.
|
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected EntityID emittingEntityID
protected EventIdentifier eventID
protected ElectromagneticEmissionStateUpdateIndicator stateUpdateIndicator
protected byte numberOfSystems
protected short paddingForEmissionsPdu
protected java.util.List<ElectronicEmitter> systems
public int getMarshalledSize()
getMarshalledSize
in class DistributedEmissionsFamilyPdu
public ElectromagneticEmissionPdu setEmittingEntityID(EntityID pEmittingEntityID)
emittingEntityID
public EntityID getEmittingEntityID()
emittingEntityID
public ElectromagneticEmissionPdu setEventID(EventIdentifier pEventID)
eventID
public EventIdentifier getEventID()
eventID
public ElectromagneticEmissionPdu setStateUpdateIndicator(ElectromagneticEmissionStateUpdateIndicator pStateUpdateIndicator)
stateUpdateIndicator
public ElectromagneticEmissionStateUpdateIndicator getStateUpdateIndicator()
stateUpdateIndicator
public ElectromagneticEmissionPdu setPaddingForEmissionsPdu(short pPaddingForEmissionsPdu)
paddingForEmissionsPdu
public short getPaddingForEmissionsPdu()
paddingForEmissionsPdu
public ElectromagneticEmissionPdu setSystems(java.util.List<ElectronicEmitter> pSystems)
systems
public java.util.List<ElectronicEmitter> getSystems()
systems
public void marshal(java.io.DataOutputStream dos)
marshal
in class DistributedEmissionsFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class DistributedEmissionsFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
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 onlyjava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
unmarshal
in class DistributedEmissionsFamilyPdu
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smalljava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
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