Uses of Class
client.Packet
Packages that use Packet
-
Uses of Packet in client
Modifier and TypeMethodDescriptionClient.getLatestPacket()
Returns the latest packet from the server that is not null.static Packet
SingleClient.getLatestPacket()
Returns the latest packet from the server.Client.getPacket()
Gets a packet from the server.static Packet
SingleClient.getPacket()
Gets a packet from the server.Modifier and TypeMethodDescriptionvoid
Client.sendJoinPacket
(Packet packet) Sends a packet to the server through the buffered writer.Also sends the username so the client can be initialised on the server.void
Client.sendPacket
(Packet packet) Sends a packet to the server.Similarly to the sendMessage the packet is converted to a JadeObject then serialized to a string.static void
SingleClient.sendPacket
(Packet packet) Sends a packet via the clients sendPacket() method.void
Client.setLatestPacket
(Packet packet) Sets the latest packet of the client.static void
SingleClient.setLatestPacket
(Packet packet) Sets the value of the latest packet from the server. -
Uses of Packet in jade