public override void ChannelRead(IChannelHandlerContext context, object message) { _service.OnReceive(context, message); }
protected override void ChannelRead0(IChannelHandlerContext context, TMessage msg) { listener.ServiceReceive(msg); _service.OnReceive(new SocketContext <TMessage>(context.Channel), msg); listener.ServiceReceiveCompleted(msg); }