public class AckInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
endseqno
The end seqno.
|
protected int |
startseqno
The start seqno.
|
protected boolean |
stop
The stop flag.
|
Constructor and Description |
---|
AckInfo()
Create a new ack info.
|
AckInfo(int startseqno,
int endseqno,
boolean stop)
Create a new ack info.
|
Modifier and Type | Method and Description |
---|---|
int |
getEndSequenceNumber()
Get the endSequenceNumber.
|
int |
getStartSequenceNumber()
Get the startSequenceNumber.
|
boolean |
isStop()
Get the stop.
|
void |
setEndSequenceNumber(int endSequenceNumber)
Set the endSequenceNumber.
|
void |
setStartSequenceNumber(int startSequenceNumber)
Set the startSequenceNumber.
|
void |
setStop(boolean stop)
Set the stop.
|
protected int startseqno
protected int endseqno
protected boolean stop
public AckInfo()
public AckInfo(int startseqno, int endseqno, boolean stop)
public int getStartSequenceNumber()
public void setStartSequenceNumber(int startSequenceNumber)
startSequenceNumber
- The startSequenceNumber to set.public int getEndSequenceNumber()
public void setEndSequenceNumber(int endSequenceNumber)
endSequenceNumber
- The endSequenceNumber to set.public boolean isStop()
public void setStop(boolean stop)
stop
- The stop to set.