IncomingTCPClientConnectionPacket
public IncomingTCPClientConnectionPacket(TCPClientConnection client,
DataFrame data,
IncomingTCPClientConnectionPacket previousPacket)
Constructs a new incoming packet for an existing TCP client connection.
Use this class to receive data from a client.
This is an incoming message that will remain in the servers thread pool
as a job for the thread pool workers.
- Parameters:
client
- is the client where this message belongs to.data
- is a DataFrame class.previousPacket
- is the previous incoming message of the client.