public class IntercomControlPdu extends RadioCommunicationsFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected IntercomControlCommand |
command
detailed type requested.
|
protected byte |
communicationsChannelType
control type
|
protected IntercomControlControlType |
controlType
control type uid 180
|
protected java.util.List<IntercomCommunicationsParameters> |
intercomParameters |
protected int |
intercomParametersLength
number of intercom parameters
|
protected short |
masterChannelID |
protected short |
masterIntercomNumber
specific intercom device that has created this intercom channel
|
protected EntityID |
masterIntercomReferenceID
eid of the entity that has created this intercom channel, same comments as sourceEntityId
|
protected EntityID |
sourceEntityID
Source entity ID, this can also be ObjectIdentifier or UnattachedIdentifier
|
protected short |
sourceIntercomNumber
The specific intercom device being simulated within an entity.
|
protected byte |
sourceLineID
Line number to which the intercom control refers
|
protected IntercomControlTransmitLineState |
transmitLineState
current transmit state of the line uid 183
|
protected byte |
transmitPriority
priority of this message relative to transmissons from other intercom devices
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
IntercomControlPdu()
Constructor
|
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected IntercomControlControlType controlType
protected byte communicationsChannelType
protected EntityID sourceEntityID
protected short sourceIntercomNumber
protected byte sourceLineID
protected byte transmitPriority
protected IntercomControlTransmitLineState transmitLineState
protected IntercomControlCommand command
protected EntityID masterIntercomReferenceID
protected short masterIntercomNumber
protected short masterChannelID
protected int intercomParametersLength
protected java.util.List<IntercomCommunicationsParameters> intercomParameters
public int getMarshalledSize()
getMarshalledSize
in class RadioCommunicationsFamilyPdu
public IntercomControlPdu setControlType(IntercomControlControlType pControlType)
controlType
public IntercomControlControlType getControlType()
controlType
public IntercomControlPdu setCommunicationsChannelType(byte pCommunicationsChannelType)
communicationsChannelType
public byte getCommunicationsChannelType()
communicationsChannelType
public IntercomControlPdu setSourceEntityID(EntityID pSourceEntityID)
sourceEntityID
public EntityID getSourceEntityID()
sourceEntityID
public IntercomControlPdu setSourceIntercomNumber(short pSourceIntercomNumber)
sourceIntercomNumber
public short getSourceIntercomNumber()
sourceIntercomNumber
public IntercomControlPdu setSourceLineID(byte pSourceLineID)
sourceLineID
public byte getSourceLineID()
sourceLineID
public IntercomControlPdu setTransmitPriority(byte pTransmitPriority)
transmitPriority
public byte getTransmitPriority()
transmitPriority
public IntercomControlPdu setTransmitLineState(IntercomControlTransmitLineState pTransmitLineState)
transmitLineState
public IntercomControlTransmitLineState getTransmitLineState()
transmitLineState
public IntercomControlPdu setCommand(IntercomControlCommand pCommand)
command
public IntercomControlCommand getCommand()
command
public IntercomControlPdu setMasterIntercomReferenceID(EntityID pMasterIntercomReferenceID)
masterIntercomReferenceID
public EntityID getMasterIntercomReferenceID()
masterIntercomReferenceID
public IntercomControlPdu setMasterIntercomNumber(short pMasterIntercomNumber)
masterIntercomNumber
public short getMasterIntercomNumber()
masterIntercomNumber
public IntercomControlPdu setMasterChannelID(short pMasterChannelID)
masterChannelID
public short getMasterChannelID()
masterChannelID
public IntercomControlPdu setIntercomParameters(java.util.List<IntercomCommunicationsParameters> pIntercomParameters)
intercomParameters
public java.util.List<IntercomCommunicationsParameters> getIntercomParameters()
intercomParameters
public void marshal(java.io.DataOutputStream dos)
marshal
in class RadioCommunicationsFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class RadioCommunicationsFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
marshal
in class RadioCommunicationsFamilyPdu
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 RadioCommunicationsFamilyPdu
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 RadioCommunicationsFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class RadioCommunicationsFamilyPdu
obj
- the object to compare to