|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.nps.moves.dis.Pdu
edu.nps.moves.dis.MinefieldFamilyPdu
edu.nps.moves.dis.MinefieldResponseNackPdu
@Entity public class MinefieldResponseNackPdu
Section 5.3.10.4 proivde the means to request a retransmit of a minefield data pdu. 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 | |
|---|---|
long |
fk_minefieldID
|
long |
fk_requestingEntityID
|
protected EntityID |
minefieldID
Minefield ID |
protected java.util.List<EightByteChunk> |
missingPduSequenceNumbers
PDU sequence numbers that were missing |
protected short |
numberOfMissingPdus
how many pdus were missing |
protected short |
requestID
request ID |
protected EntityID |
requestingEntityID
entity ID making the request |
| Fields inherited from class edu.nps.moves.dis.Pdu |
|---|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp |
| Constructor Summary | |
|---|---|
MinefieldResponseNackPdu()
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 |
getMarshalledSize()
|
EntityID |
getMinefieldID()
|
java.util.List<EightByteChunk> |
getMissingPduSequenceNumbers()
|
short |
getNumberOfMissingPdus()
|
short |
getRequestID()
|
EntityID |
getRequestingEntityID()
|
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer. |
void |
marshal(java.io.DataOutputStream dos)
|
void |
setMinefieldID(EntityID pMinefieldID)
|
void |
setMissingPduSequenceNumbers(java.util.List<EightByteChunk> pMissingPduSequenceNumbers)
|
void |
setNumberOfMissingPdus(short pNumberOfMissingPdus)
Note that setting this value will not change the marshalled value. |
void |
setRequestID(short pRequestID)
|
void |
setRequestingEntityID(EntityID pRequestingEntityID)
|
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data. |
void |
unmarshal(java.io.DataInputStream dis)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EntityID minefieldID
protected EntityID requestingEntityID
protected short requestID
protected short numberOfMissingPdus
protected java.util.List<EightByteChunk> missingPduSequenceNumbers
public long fk_minefieldID
public long fk_requestingEntityID
| Constructor Detail |
|---|
public MinefieldResponseNackPdu()
| Method Detail |
|---|
public int getMarshalledSize()
getMarshalledSize in class MinefieldFamilyPdupublic void setMinefieldID(EntityID pMinefieldID)
public EntityID getMinefieldID()
public void setRequestingEntityID(EntityID pRequestingEntityID)
public EntityID getRequestingEntityID()
public void setRequestID(short pRequestID)
public short getRequestID()
public short getNumberOfMissingPdus()
public void setNumberOfMissingPdus(short pNumberOfMissingPdus)
public void setMissingPduSequenceNumbers(java.util.List<EightByteChunk> pMissingPduSequenceNumbers)
public java.util.List<EightByteChunk> getMissingPduSequenceNumbers()
public void marshal(java.io.DataOutputStream dos)
marshal in class MinefieldFamilyPdupublic void unmarshal(java.io.DataInputStream dis)
unmarshal in class MinefieldFamilyPdupublic void marshal(java.nio.ByteBuffer buff)
marshal in class MinefieldFamilyPdubuff - 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 MinefieldFamilyPdubuff - 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 MinefieldFamilyPdupublic boolean equalsImpl(java.lang.Object obj)
Pduthis and the supplied object
equalsImpl in class MinefieldFamilyPduobj - the object to compare to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||