Package top.focess.qq.api.net
Interface PackHandler<T extends Packet>
-
- Type Parameters:
T- the packet type This is a functional interface whose functional method ishandle(Packet)
public interface PackHandler<T extends Packet>Represents a packet handler to define how to handle packet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(T packet)Used to handle the packet
-
-
-
Method Detail
-
handle
void handle(T packet)
Used to handle the packet- Parameters:
packet- the packet
-
-