public interface TcpConnectionListener
Modifier and Type | Method and Description |
---|---|
void |
onConnectionTerminated(TcpConnection tcp_conn,
java.lang.Exception error)
When TcpConnection terminates.
|
void |
onReceivedData(TcpConnection tcp_conn,
byte[] data,
int len)
When new data is received through the TcpConnection.
|
void onReceivedData(TcpConnection tcp_conn, byte[] data, int len)
void onConnectionTerminated(TcpConnection tcp_conn, java.lang.Exception error)