Class PacketVanilla
java.lang.Object
net.minestom.server.network.packet.PacketVanilla
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketParser<ClientPacket> static final ObjectPool<NetworkBuffer> Pool containing a buffer able to hold the largest packet.static final PacketParser<ServerPacket> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionStatenextClientState(ClientPacket packet, ConnectionState currentState) static ConnectionStatenextServerState(ServerPacket packet, ConnectionState currentState)
-
Field Details
-
CLIENT_PACKET_PARSER
-
SERVER_PACKET_PARSER
-
PACKET_POOL
Pool containing a buffer able to hold the largest packet.Size starts with
ServerFlag.POOLED_BUFFER_SIZEand doubles untilServerFlag.MAX_PACKET_SIZE.
-
-
Constructor Details
-
PacketVanilla
public PacketVanilla()
-
-
Method Details
-
nextClientState
-
nextServerState
-