Inheritance: 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;
 }
コード例 #2
0
 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;
 }