public class PacketPool extends Object
Constructor and Description |
---|
PacketPool() |
Modifier and Type | Method and Description |
---|---|
static PacketPool |
getInstance() |
Packet |
getPacket() |
void |
putPacket(Packet p) |
public static PacketPool getInstance()
public Packet getPacket() throws IOException
IOException
public void putPacket(Packet p)
Copyright © 2016. All rights reserved.