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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
packetReceivedInOrder()
Invoked when a data packet is received in-order.void
packetReceivedOutOfOrder()
Invoked when a out of sequence data packet is received.void
packetRetransmitted()
Invoked when a data packet is retransmitted.void
packetSent()
Invoked when a data packet is sent.
-
-
-
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.
-
-