Наследование: IServerCommunication
Пример #1
0
 public NettyServerHandler(
     NettyServer parent,
     Action<string, string, string, byte[]> dataReceivedAction,
     Action<string, string> clientConnectedAction)
 {
     this.dataReceivedAction = dataReceivedAction;
     this.clientConnectedAction = clientConnectedAction;
     this.parent = parent;
 }
 public NettyServerHandler(
     ILogger logger,
     NettyServer parent,
     Action <string, string, string, byte[]> dataReceivedAction,
     Action <string, string, System.Net.EndPoint> clientConnectedAction)
 {
     this.log = logger;
     this.dataReceivedAction    = dataReceivedAction;
     this.clientConnectedAction = clientConnectedAction;
     this.parent = parent;
 }