public class OutputConnectionHandler.DataSendInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Future<java.lang.Void> |
fut
The future.
|
protected long |
lastsend
The sequence number during the last sending.
|
protected StreamPacket |
task
The task.
|
protected java.util.TimerTask |
timer
The timer.
|
protected int |
tries
The try count.
|
Constructor and Description |
---|
DataSendInfo(StreamPacket task)
Create a send info.
|
Modifier and Type | Method and Description |
---|---|
void |
checkResend()
Check, if the message should be resent.
|
void |
doResend()
Called when the message should be resent.
|
Future<java.lang.Void> |
getFuture()
Get the future.
|
int |
getSequenceNumber()
Get the sequence number.
|
StreamPacket |
retry()
Retry sending the message.
|
protected StreamPacket task
protected Future<java.lang.Void> fut
protected int tries
protected java.util.TimerTask timer
protected long lastsend
public DataSendInfo(StreamPacket task)
public int getSequenceNumber()
public Future<java.lang.Void> getFuture()
public StreamPacket retry()
public void doResend()
public void checkResend()