Modifier and Type | Method and Description |
---|---|
void |
ExtasysTCPServer.OnClientConnect(TCPClientConnection client)
A client connects to this server.
|
void |
ExtasysTCPServer.OnClientDisconnect(TCPClientConnection client)
A client disconnects from this server.
|
void |
ExtasysTCPServer.OnDataReceive(TCPClientConnection sender,
DataFrame data)
Server is receiving data from a client connection.
|
void |
ExtasysTCPServer.ReplyToAllExceptSender(byte[] bytes,
int offset,
int length,
TCPClientConnection sender)
Send data to all connected clients excepts sender.
|
void |
ExtasysTCPServer.ReplyToAllExceptSender(java.lang.String data,
TCPClientConnection sender)
Send data to all connected clients excepts sender.
|
void |
ExtasysTCPServer.ReplyToSender(byte[] bytes,
int offset,
int length,
TCPClientConnection sender)
Send data to a client.
|
void |
ExtasysTCPServer.ReplyToSender(java.lang.String data,
TCPClientConnection sender)
Send data to a client.
|
Modifier and Type | Method and Description |
---|---|
void |
TCPListener.AddClient(TCPClientConnection client)
Add client to connected clients list.
|
void |
TCPListener.ReplyToAllExceptSender(byte[] bytes,
int offset,
int length,
TCPClientConnection sender)
Send data to all connected clients excepts sender.
|
void |
TCPListener.ReplyToAllExceptSender(java.lang.String data,
TCPClientConnection sender)
Send data to all connected clients excepts sender.
|
Modifier and Type | Method and Description |
---|---|
TCPClientConnection |
ClientIsDisconnectedException.getClient()
Returns the disconnected client.
|
Constructor and Description |
---|
ClientIsDisconnectedException(TCPClientConnection client) |
Constructor and Description |
---|
IncomingTCPClientConnectionPacket(TCPClientConnection client,
DataFrame data,
IncomingTCPClientConnectionPacket previousPacket)
Constructs a new incoming packet for an existing TCP client connection.
|
MessageCollectorTCPClientConnectionPacket(TCPClientConnection client,
java.lang.String data,
MessageCollectorTCPClientConnectionPacket previousPacket)
Constructs a new (incoming) message collector packet.
|
OutgoingTCPClientConnectionPacket(TCPClientConnection client,
byte[] bytes,
int offset,
int length,
OutgoingTCPClientConnectionPacket previousPacket)
Constructs a new outgoing packet for an existing TCP client connection.
|
Constructor and Description |
---|
TCPClientConnectionMessageCollector(TCPClientConnection myClient,
char splitter) |
TCPClientConnectionMessageCollector(TCPClientConnection myClient,
java.lang.String splitter) |