public class NackFrag extends SubMessage
SubMessage.Kind
Modifier and Type | Field and Description |
---|---|
static int |
KIND |
header
Constructor and Description |
---|
NackFrag(SubMessageHeader smh,
RTPSByteBuffer bb) |
Modifier and Type | Method and Description |
---|---|
int |
getCount()
A counter that is incremented each time a new NackFrag message is sent.
|
SequenceNumberSet |
getFragmentNumberState()
Communicates the state of the reader to the writer.
|
EntityId |
getReaderId()
Identifies the Reader entity that requests to receive certain fragments.
|
EntityId |
getWriterId()
Identifies the Writer entity that is the target of the NackFrag message.
|
SequenceNumber |
getWriterSequenceNumber()
The sequence number for which some fragments are missing.
|
void |
writeTo(RTPSByteBuffer bb)
Writes this SubMessage into given RTPSByteBuffer.
|
getHeader, getKind, toString
public static final int KIND
public NackFrag(SubMessageHeader smh, RTPSByteBuffer bb)
public EntityId getReaderId()
public EntityId getWriterId()
public SequenceNumber getWriterSequenceNumber()
public SequenceNumberSet getFragmentNumberState()
public int getCount()
public void writeTo(RTPSByteBuffer bb)
SubMessage
writeTo
in class SubMessage
bb
- RTPSByteBufferCopyright © 2016. All rights reserved.