Package top.focess.qq.api.net.packet
Class DisconnectPacket
- java.lang.Object
-
- top.focess.qq.api.net.packet.Packet
-
- top.focess.qq.api.net.packet.ClientPacket
-
- top.focess.qq.api.net.packet.DisconnectPacket
-
public class DisconnectPacket extends ClientPacket
Used to tell server the connection has lost.
-
-
Field Summary
Fields Modifier and Type Field Description static intPACKET_ID
-
Constructor Summary
Constructors Constructor Description DisconnectPacket(int clientId, String token)Constructs a DisconnectedPacket
-
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
-
DisconnectPacket
public DisconnectPacket(int clientId, String token)Constructs a DisconnectedPacket- Parameters:
clientId- the client idtoken- the client token
-
-