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, getKind
public static final int KIND
public EntityId getReaderId()
public EntityId getWriterId()
public long getGapStart()
public long getGapEnd()
public SequenceNumberSet getGapList()
public void writeTo(RTPSByteBuffer bb)
SubMessage
writeTo
in class SubMessage
bb
- RTPSByteBufferpublic String toString()
toString
in class SubMessage
Copyright © 2016. All rights reserved.