public class UnderwaterAcousticPdu extends DistributedEmissionsFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<APA> |
apaData
additional passive activities
|
protected java.util.List<UAEmitter> |
emitterSystems |
protected EntityID |
emittingEntityID
ID of the entity that is the source of the emission
|
protected EventIdentifier |
eventID
ID of event
|
protected byte |
numberOfAPAs
This field shall indicate the number of APAs described in the current UA PDU
|
protected byte |
numberOfShafts
This field shall represent the number of shafts on a platform
|
protected byte |
numberOfUAEmitterSystems
This field shall specify the number of UA emitter systems being described in the current UA PDU
|
protected byte |
pad
padding
|
protected UAPassiveParameterIndex |
passiveParameterIndex
This field indicates which database record (or file) shall be used in the definition of passive signature (unintentional) emissions of the entity.
|
protected byte |
propulsionPlantConfiguration
This field shall specify the entity propulsion plant configuration.
|
protected java.util.List<ShaftRPM> |
shaftRPMs
shaft RPM values.
|
protected UAStateChangeUpdateIndicator |
stateChangeIndicator
This field shall be used to indicate whether the data in the UA PDU represent a state update or data that have changed since issuance of the last UA PDU uid 143
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
UnderwaterAcousticPdu()
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 |
java.util.List<APA> |
getApaData()
Getter for
apaData |
java.util.List<UAEmitter> |
getEmitterSystems()
Getter for
emitterSystems |
EntityID |
getEmittingEntityID()
Getter for
emittingEntityID |
EventIdentifier |
getEventID()
Getter for
eventID |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
byte |
getPad()
Getter for
pad |
UAPassiveParameterIndex |
getPassiveParameterIndex()
Getter for
passiveParameterIndex |
byte |
getPropulsionPlantConfiguration()
Getter for
propulsionPlantConfiguration |
java.util.List<ShaftRPM> |
getShaftRPMs()
Getter for
shaftRPMs |
UAStateChangeUpdateIndicator |
getStateChangeIndicator()
Getter for
stateChangeIndicator |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
UnderwaterAcousticPdu |
setApaData(java.util.List<APA> pApaData)
Setter for
apaData |
UnderwaterAcousticPdu |
setEmitterSystems(java.util.List<UAEmitter> pEmitterSystems)
Setter for
emitterSystems |
UnderwaterAcousticPdu |
setEmittingEntityID(EntityID pEmittingEntityID)
Setter for
emittingEntityID |
UnderwaterAcousticPdu |
setEventID(EventIdentifier pEventID)
Setter for
eventID |
UnderwaterAcousticPdu |
setPad(byte pPad)
Setter for
pad |
UnderwaterAcousticPdu |
setPassiveParameterIndex(UAPassiveParameterIndex pPassiveParameterIndex)
Setter for
passiveParameterIndex |
UnderwaterAcousticPdu |
setPropulsionPlantConfiguration(byte pPropulsionPlantConfiguration)
Setter for
propulsionPlantConfiguration |
UnderwaterAcousticPdu |
setShaftRPMs(java.util.List<ShaftRPM> pShaftRPMs)
Setter for
shaftRPMs |
UnderwaterAcousticPdu |
setStateChangeIndicator(UAStateChangeUpdateIndicator pStateChangeIndicator)
Setter for
stateChangeIndicator |
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 UAStateChangeUpdateIndicator stateChangeIndicator
protected byte pad
protected UAPassiveParameterIndex passiveParameterIndex
protected byte propulsionPlantConfiguration
protected byte numberOfShafts
protected byte numberOfAPAs
protected byte numberOfUAEmitterSystems
protected java.util.List<ShaftRPM> shaftRPMs
protected java.util.List<APA> apaData
protected java.util.List<UAEmitter> emitterSystems
public int getMarshalledSize()
getMarshalledSize
in class DistributedEmissionsFamilyPdu
public UnderwaterAcousticPdu setEmittingEntityID(EntityID pEmittingEntityID)
emittingEntityID
public EntityID getEmittingEntityID()
emittingEntityID
public UnderwaterAcousticPdu setEventID(EventIdentifier pEventID)
eventID
public EventIdentifier getEventID()
eventID
public UnderwaterAcousticPdu setStateChangeIndicator(UAStateChangeUpdateIndicator pStateChangeIndicator)
stateChangeIndicator
public UAStateChangeUpdateIndicator getStateChangeIndicator()
stateChangeIndicator
public UnderwaterAcousticPdu setPad(byte pPad)
pad
public byte getPad()
pad
public UnderwaterAcousticPdu setPassiveParameterIndex(UAPassiveParameterIndex pPassiveParameterIndex)
passiveParameterIndex
public UAPassiveParameterIndex getPassiveParameterIndex()
passiveParameterIndex
public UnderwaterAcousticPdu setPropulsionPlantConfiguration(byte pPropulsionPlantConfiguration)
propulsionPlantConfiguration
public byte getPropulsionPlantConfiguration()
propulsionPlantConfiguration
public UnderwaterAcousticPdu setShaftRPMs(java.util.List<ShaftRPM> pShaftRPMs)
shaftRPMs
public UnderwaterAcousticPdu setApaData(java.util.List<APA> pApaData)
apaData
public UnderwaterAcousticPdu setEmitterSystems(java.util.List<UAEmitter> pEmitterSystems)
emitterSystems
public java.util.List<UAEmitter> getEmitterSystems()
emitterSystems
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