T
- the type of the packets.public static interface PacketQueue.PacketHandler<T>
Modifier and Type | Method and Description |
---|---|
boolean |
handlePacket(T pkt)
Does something with a packet.
|
boolean handlePacket(T pkt)
pkt
- the packet to do something with.true
if the operation was successful, and
false
otherwise.Copyright © 2018. All rights reserved.