Interface ReplayStrategy

    • Method Detail

      • onDroppedPackets

        boolean onDroppedPackets​(ReliableTransport transport,
                                 int expectedCounter,
                                 int actualCounter,
                                 int nextAvailableCounter)
                          throws IOException
        Deals with a dropped packet.
        Parameters:
        transport - the transport on which the packet was dropped
        expectedCounter - the expected command counter
        actualCounter - the actual command counter
        nextAvailableCounter - TODO
        Returns:
        true if the command should be buffered or false if it should be discarded
        Throws:
        IOException
      • onReceivedPacket

        void onReceivedPacket​(ReliableTransport transport,
                              long expectedCounter)