|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.nps.moves.dis7mobile.PduSuperclass
edu.nps.moves.dis7mobile.Pdu
edu.nps.moves.dis7mobile.RadioCommunicationsFamilyPdu
edu.nps.moves.dis7mobile.IntercomSignalPdu
public class IntercomSignalPdu
Actual transmission of intercome voice data. Section 7.7.5. COMPLETE Copyright (c) 2008-2010, MOVES Institute, Naval Postgraduate School. All rights reserved. This work is licensed under the BSD open source license, available at https://www.movesinstitute.org/licenses/bsd.html
| Field Summary | |
|---|---|
protected int |
communicationsDeviceID
ID of communications device |
protected java.util.List<OneByteChunk> |
data
data bytes |
protected int |
dataLength
data length |
protected int |
encodingScheme
encoding scheme |
protected EntityID |
entityID
entity ID |
protected long |
sampleRate
sample rate |
protected int |
samples
samples |
protected int |
tdlType
tactical data link type |
| Fields inherited from class edu.nps.moves.dis7mobile.RadioCommunicationsFamilyPdu |
|---|
entityId, radioId |
| Fields inherited from class edu.nps.moves.dis7mobile.Pdu |
|---|
padding, pduStatus |
| Fields inherited from class edu.nps.moves.dis7mobile.PduSuperclass |
|---|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp |
| Constructor Summary | |
|---|---|
IntercomSignalPdu()
Constructor |
|
| Method Summary | |
|---|---|
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 |
int |
getCommunicationsDeviceID()
|
java.util.List<OneByteChunk> |
getData()
|
int |
getDataLength()
|
int |
getEncodingScheme()
|
EntityID |
getEntityID()
|
int |
getMarshalledSize()
|
long |
getSampleRate()
|
int |
getSamples()
|
int |
getTdlType()
|
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer. |
void |
marshal(java.io.DataOutputStream dos)
|
void |
setCommunicationsDeviceID(int pCommunicationsDeviceID)
|
void |
setData(java.util.List<OneByteChunk> pData)
|
void |
setDataLength(int pDataLength)
Note that setting this value will not change the marshalled value. |
void |
setEncodingScheme(int pEncodingScheme)
|
void |
setEntityID(EntityID pEntityID)
|
void |
setSampleRate(long pSampleRate)
|
void |
setSamples(int pSamples)
|
void |
setTdlType(int pTdlType)
|
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data. |
void |
unmarshal(java.io.DataInputStream dis)
|
| Methods inherited from class edu.nps.moves.dis7mobile.RadioCommunicationsFamilyPdu |
|---|
getEntityId, getRadioId, setEntityId, setRadioId |
| Methods inherited from class edu.nps.moves.dis7mobile.Pdu |
|---|
getPadding, getPduStatus, marshal, setPadding, setPduStatus |
| Methods inherited from class edu.nps.moves.dis7mobile.PduSuperclass |
|---|
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EntityID entityID
protected int communicationsDeviceID
protected int encodingScheme
protected int tdlType
protected long sampleRate
protected int dataLength
protected int samples
protected java.util.List<OneByteChunk> data
| Constructor Detail |
|---|
public IntercomSignalPdu()
| Method Detail |
|---|
public int getMarshalledSize()
getMarshalledSize in class RadioCommunicationsFamilyPdupublic void setEntityID(EntityID pEntityID)
public EntityID getEntityID()
public void setCommunicationsDeviceID(int pCommunicationsDeviceID)
public int getCommunicationsDeviceID()
public void setEncodingScheme(int pEncodingScheme)
public int getEncodingScheme()
public void setTdlType(int pTdlType)
public int getTdlType()
public void setSampleRate(long pSampleRate)
public long getSampleRate()
public int getDataLength()
public void setDataLength(int pDataLength)
public void setSamples(int pSamples)
public int getSamples()
public void setData(java.util.List<OneByteChunk> pData)
public java.util.List<OneByteChunk> getData()
public void marshal(java.io.DataOutputStream dos)
marshal in class RadioCommunicationsFamilyPdupublic void unmarshal(java.io.DataInputStream dis)
unmarshal in class RadioCommunicationsFamilyPdupublic void marshal(java.nio.ByteBuffer buff)
marshal in class RadioCommunicationsFamilyPdubuff - The ByteBuffer at the position to begin writing
java.nio.BufferOverflowException - if buff is too small
java.nio.ReadOnlyBufferException - if buff is read onlyByteBufferpublic void unmarshal(java.nio.ByteBuffer buff)
unmarshal in class RadioCommunicationsFamilyPdubuff - The ByteBuffer at the position to begin reading
java.nio.BufferUnderflowException - if buff is too smallByteBufferpublic boolean equals(java.lang.Object obj)
equals in class RadioCommunicationsFamilyPdupublic boolean equalsImpl(java.lang.Object obj)
PduSuperclassthis and the supplied object
equalsImpl in class RadioCommunicationsFamilyPduobj - the object to compare to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||