public class Gap extends SubMessage
see 8.3.7.4 Gap, 9.4.5.5 Gap Submessage
SubMessage.Kind| Modifier and Type | Field and Description |
|---|---|
static int |
KIND |
header| Constructor and Description |
|---|
Gap(EntityId readerId,
EntityId writerId,
long gapStart,
long gapEnd) |
| Modifier and Type | Method and Description |
|---|---|
long |
getGapEnd()
Gets the last sequence number in this Gap.
|
SequenceNumberSet |
getGapList()
SequenceNumberSet.bitmapBase - 1 is the last sequence number of irrelevant
seq nums.
|
long |
getGapStart()
Identifies the first sequence number in the interval of irrelevant
sequence numbers.
|
EntityId |
getReaderId()
Get the Reader Entity that is being informed of the irrelevance of a set
of sequence numbers.
|
EntityId |
getWriterId()
Get the Writer Entity to which the range of sequence numbers applies.
|
String |
toString() |
void |
writeTo(RTPSByteBuffer bb)
Writes this SubMessage into given RTPSByteBuffer.
|
getHeader, getKindpublic static final int KIND
public EntityId getReaderId()
public EntityId getWriterId()
public long getGapStart()
public long getGapEnd()
public SequenceNumberSet getGapList()
public void writeTo(RTPSByteBuffer bb)
SubMessagewriteTo in class SubMessagebb - RTPSByteBufferpublic String toString()
toString in class SubMessageCopyright © 2016. All rights reserved.