Package jadex.bridge.component.streams
Class OutputConnectionHandler.DataSendInfo
- java.lang.Object
- 
- jadex.bridge.component.streams.OutputConnectionHandler.DataSendInfo
 
- 
- Enclosing class:
- OutputConnectionHandler
 
 public class OutputConnectionHandler.DataSendInfo extends java.lang.ObjectInfo about a sent but not yet acknowledged data message.
- 
- 
Constructor SummaryConstructors Constructor Description DataSendInfo(StreamPacket task)Create a send info.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckResend()Check, if the message should be resent.voiddoResend()Called when the message should be resent.Future<java.lang.Void>getFuture()Get the future.intgetSequenceNumber()Get the sequence number.StreamPacketretry()Retry sending the message.
 
- 
- 
- 
Field Detail- 
taskprotected StreamPacket task The task.
 - 
futprotected Future<java.lang.Void> fut The future.
 - 
triesprotected int tries The try count.
 - 
timerprotected java.util.TimerTask timer The timer.
 - 
lastsendprotected long lastsend The sequence number during the last sending.
 
- 
 - 
Constructor Detail- 
DataSendInfopublic DataSendInfo(StreamPacket task) Create a send info.
 
- 
 - 
Method Detail- 
getSequenceNumberpublic int getSequenceNumber() Get the sequence number.
 - 
getFuturepublic Future<java.lang.Void> getFuture() Get the future.
 - 
retrypublic StreamPacket retry() Retry sending the message.- Returns:
- task The task for resend.
 
 - 
doResendpublic void doResend() Called when the message should be resent.
 - 
checkResendpublic void checkResend() Check, if the message should be resent.
 
- 
 
-