internal void NotifyClientDisconnected(Server.ServerListener listener, TcpClient disconnectedClient) { if (ClientDisconnected != null) { ClientDisconnected(this, disconnectedClient); } }
internal void NotifyEndTransmissionRx(Server.ServerListener listener, TcpClient client, byte[] msg) { if (DataReceived != null) { Message m = new Message(msg, client, StringEncoder, Delimiter, AutoTrimStrings); DataReceived(this, m); } }
internal void NotifyClientConnected(Server.ServerListener listener, TcpClient newClient) { if (ClientConnected != null) { ClientConnected(this, newClient); } }