Package top.focess.qq.api.net.packet
Class WaitPacket
- java.lang.Object
-
- top.focess.qq.api.net.packet.Packet
-
- top.focess.qq.api.net.packet.ClientPacket
-
- top.focess.qq.api.net.packet.WaitPacket
-
- All Implemented Interfaces:
Serializable,top.focess.util.serialize.FocessSerializable
public class WaitPacket extends ClientPacket
Used to create receive-packet time for client and send-packet time for server.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intPACKET_ID
-
Constructor Summary
Constructors Constructor Description WaitPacket(int clientId, String token)Constructs a WaitPacket
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()Get the packet id-
Methods inherited from class top.focess.qq.api.net.packet.ClientPacket
getClientId, getToken
-
-
-
-
Field Detail
-
PACKET_ID
public static final int PACKET_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WaitPacket
public WaitPacket(int clientId, String token)Constructs a WaitPacket- Parameters:
clientId- the client idtoken- the client token
-
-