public class UaPdu extends DistributedEmissionsFamilyPdu implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ApaData> |
apaData
apaData
|
protected java.util.List<AcousticEmitterSystemData> |
emitterSystems |
protected EntityID |
emittingEntityID
ID of the entity that is the source of the emission
|
protected EventID |
eventID
ID of event
|
protected short |
numberOfAPAs
This field shall indicate the number of APAs described in the current UA PDU
|
protected short |
numberOfShafts
This field shall represent the number of shafts on a platform
|
protected short |
numberOfUAEmitterSystems
This field shall specify the number of UA emitter systems being described in the current UA PDU
|
protected byte |
pad
padding
|
protected int |
passiveParameterIndex
This field indicates which database record (or file) shall be used in the definition of passive signature (unintentional) emissions of the entity.
|
protected short |
propulsionPlantConfiguration
This field shall specify the entity propulsion plant configuration.
|
protected java.util.List<ShaftRPMs> |
shaftRPMs
shaft RPM values
|
protected byte |
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
|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp| Constructor and Description |
|---|
UaPdu()
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<ApaData> |
getApaData() |
java.util.List<AcousticEmitterSystemData> |
getEmitterSystems() |
EntityID |
getEmittingEntityID() |
EventID |
getEventID() |
int |
getMarshalledSize() |
short |
getNumberOfAPAs() |
short |
getNumberOfShafts() |
short |
getNumberOfUAEmitterSystems() |
byte |
getPad() |
int |
getPassiveParameterIndex() |
short |
getPropulsionPlantConfiguration() |
java.util.List<ShaftRPMs> |
getShaftRPMs() |
byte |
getStateChangeIndicator() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setApaData(java.util.List<ApaData> pApaData) |
void |
setEmitterSystems(java.util.List<AcousticEmitterSystemData> pEmitterSystems) |
void |
setEmittingEntityID(EntityID pEmittingEntityID) |
void |
setEventID(EventID pEventID) |
void |
setNumberOfAPAs(short pNumberOfAPAs)
Note that setting this value will not change the marshalled value.
|
void |
setNumberOfShafts(short pNumberOfShafts)
Note that setting this value will not change the marshalled value.
|
void |
setNumberOfUAEmitterSystems(short pNumberOfUAEmitterSystems)
Note that setting this value will not change the marshalled value.
|
void |
setPad(byte pPad) |
void |
setPassiveParameterIndex(int pPassiveParameterIndex) |
void |
setPropulsionPlantConfiguration(short pPropulsionPlantConfiguration) |
void |
setShaftRPMs(java.util.List<ShaftRPMs> pShaftRPMs) |
void |
setStateChangeIndicator(byte pStateChangeIndicator) |
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, setTimestampprotected EntityID emittingEntityID
protected EventID eventID
protected byte stateChangeIndicator
protected byte pad
protected int passiveParameterIndex
protected short propulsionPlantConfiguration
protected short numberOfShafts
protected short numberOfAPAs
protected short numberOfUAEmitterSystems
protected java.util.List<ShaftRPMs> shaftRPMs
protected java.util.List<ApaData> apaData
protected java.util.List<AcousticEmitterSystemData> emitterSystems
public int getMarshalledSize()
getMarshalledSize in class DistributedEmissionsFamilyPdupublic void setEmittingEntityID(EntityID pEmittingEntityID)
public EntityID getEmittingEntityID()
public void setEventID(EventID pEventID)
public EventID getEventID()
public void setStateChangeIndicator(byte pStateChangeIndicator)
public byte getStateChangeIndicator()
public void setPad(byte pPad)
public byte getPad()
public void setPassiveParameterIndex(int pPassiveParameterIndex)
public int getPassiveParameterIndex()
public void setPropulsionPlantConfiguration(short pPropulsionPlantConfiguration)
public short getPropulsionPlantConfiguration()
public short getNumberOfShafts()
public void setNumberOfShafts(short pNumberOfShafts)
public short getNumberOfAPAs()
public void setNumberOfAPAs(short pNumberOfAPAs)
public short getNumberOfUAEmitterSystems()
public void setNumberOfUAEmitterSystems(short pNumberOfUAEmitterSystems)
public void setShaftRPMs(java.util.List<ShaftRPMs> pShaftRPMs)
public java.util.List<ShaftRPMs> getShaftRPMs()
public void setApaData(java.util.List<ApaData> pApaData)
public java.util.List<ApaData> getApaData()
public void setEmitterSystems(java.util.List<AcousticEmitterSystemData> pEmitterSystems)
public java.util.List<AcousticEmitterSystemData> getEmitterSystems()
public void marshal(java.io.DataOutputStream dos)
marshal in class DistributedEmissionsFamilyPdupublic void unmarshal(java.io.DataInputStream dis)
unmarshal in class DistributedEmissionsFamilyPdupublic void marshal(java.nio.ByteBuffer buff)
marshal in class DistributedEmissionsFamilyPdubuff - The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException - if buff is too smalljava.nio.ReadOnlyBufferException - if buff is read onlyByteBufferpublic void unmarshal(java.nio.ByteBuffer buff)
unmarshal in class DistributedEmissionsFamilyPdubuff - The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException - if buff is too smallByteBufferpublic boolean equals(java.lang.Object obj)
equals in class DistributedEmissionsFamilyPdupublic boolean equalsImpl(java.lang.Object obj)
Pduthis and the supplied objectequalsImpl in class DistributedEmissionsFamilyPduobj - the object to compare to