Package net.rudp

Interface ReliableSocketListener


  • public interface ReliableSocketListener
    The listener interface for receiving packet events. The class that is interested in processing a packet event implements this interface.
    Author:
    Adrian Granados
    • Method Detail

      • packetSent

        void packetSent()
        Invoked when a data packet is sent.
      • packetRetransmitted

        void packetRetransmitted()
        Invoked when a data packet is retransmitted.
      • packetReceivedInOrder

        void packetReceivedInOrder()
        Invoked when a data packet is received in-order.
      • packetReceivedOutOfOrder

        void packetReceivedOutOfOrder()
        Invoked when a out of sequence data packet is received.