public class OutputConnectionHandler.DataSendInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected jadex.commons.future.Future<java.lang.Void> |
fut
The future.
|
protected long |
lastsend
The sequence number during the last sending.
|
protected StreamSendTask |
task
The task.
|
protected java.util.TimerTask |
timer
The timer.
|
protected int |
tries
The try count.
|
Constructor and Description |
---|
DataSendInfo(StreamSendTask 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.
|
jadex.commons.future.Future<java.lang.Void> |
getFuture()
Get the future.
|
int |
getSequenceNumber()
Get the sequence number.
|
StreamSendTask |
retry()
Retry sending the message.
|
protected StreamSendTask task
protected jadex.commons.future.Future<java.lang.Void> fut
protected int tries
protected java.util.TimerTask timer
protected long lastsend
public DataSendInfo(StreamSendTask task)
public int getSequenceNumber()
public jadex.commons.future.Future<java.lang.Void> getFuture()
public StreamSendTask retry()
public void doResend()
public void checkResend()