Class AckStateMachine
java.lang.Object
com.quietterminal.neon.core.AckStateMachine
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacknowledge(short sequence) getPacket(short sequence) booleanmarkResent(short sequence) process()voidtrack(short sequence, NeonPacket packet)
-
Constructor Details
-
AckStateMachine
public AckStateMachine(long ackTimeoutMs, int maxAckRetries)
-
-
Method Details
-
track
-
process
-
markResent
-
acknowledge
public void acknowledge(short sequence) -
getPacket
-
hasPending
public boolean hasPending()
-