Package top.focess.qq.api.net.packet
Class Packet
- java.lang.Object
-
- top.focess.qq.api.net.packet.Packet
-
- All Implemented Interfaces:
Serializable,FocessSerializable
- Direct Known Subclasses:
ClientPacket,ConnectPacket,MessagePacket,ServerPacket,SidedConnectPacket
public abstract class Packet extends Object implements FocessSerializable
This is the base class of all packets.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Packet()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract intgetId()Get the packet id-
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
-
-