Пример #1
0
        public override void ChannelRead(IFABChannelHandlerContext ctx, object msg)
        {
            bool flag = true;

            try
            {
                if (this.AcceptInboundMessage(msg))
                {
                    I local = (I)msg;
                    this.ChannelRead0(ctx, local);
                }
                else
                {
                    flag = false;
                    ctx.FireChannelRead(msg);
                }
            }
            finally
            {
                if (this.autoRelease & flag)
                {
                    ReferenceCountUtil.Release(msg);
                }
            }
        }
Пример #2
0
 public void ChannelRead(IFABChannelHandlerContext ctx, object msg)
 {
     ctx.FireChannelRead(msg);
 }
Пример #3
0
 public virtual void ChannelRead(IFABChannelHandlerContext context, object message)
 {
     context.FireChannelRead(message);
 }