Package top.focess.qq.api.net.packet
Class ConnectPacket
- java.lang.Object
-
- top.focess.qq.api.net.packet.Packet
-
- top.focess.qq.api.net.packet.ConnectPacket
-
- All Implemented Interfaces:
Serializable,FocessSerializable
public class ConnectPacket extends Packet
Used to connect to the server.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intPACKET_ID
-
Constructor Summary
Constructors Constructor Description ConnectPacket(String host, int port, String name)Constructs a ConnectPacket
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()intgetId()Get the packet idStringgetName()intgetPort()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface top.focess.qq.api.serialize.FocessSerializable
serialize
-
-
-
-
Field Detail
-
PACKET_ID
public static final int PACKET_ID
- See Also:
- Constant Field Values
-
-