public interface ReplayStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
onDroppedPackets(ReliableTransport transport,
int expectedCounter,
int actualCounter,
int nextAvailableCounter)
Deals with a dropped packet.
|
void |
onReceivedPacket(ReliableTransport transport,
long expectedCounter) |
boolean onDroppedPackets(ReliableTransport transport, int expectedCounter, int actualCounter, int nextAvailableCounter) throws IOException
transport
- the transport on which the packet was droppedexpectedCounter
- the expected command counteractualCounter
- the actual command counternextAvailableCounter
- TODOIOException
void onReceivedPacket(ReliableTransport transport, long expectedCounter)
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.