public interface PacketListener
PacketIF
s on their
respective SocketIF
, and act upon them. Multiple packet listeners can
be registered with a single
AbstractPacketWorker
.Modifier and Type | Method and Description |
---|---|
void |
paketArrived(SocketIF socket,
PacketIF packet)
This method is called from the
AbstractPacketWorker thread
once it has reassembled a complete PacketIF on a
SocketIF . |
void paketArrived(SocketIF socket, PacketIF packet)
AbstractPacketWorker
thread
once it has reassembled a complete PacketIF
on a
SocketIF
.socket
- The SocketIF that just had one complete packet reassembledpacket
- The reassembled packet on the SocketIF it arrived on