示例#1
0
        /// <inheritdoc/>
        public override void FinishDecode(IoSession session, IProtocolDecoderOutput output)
        {
            base.FinishDecode(session, output);
            State           state          = GetState(session);
            IMessageDecoder currentDecoder = state.currentDecoder;

            if (currentDecoder == null)
            {
                return;
            }
            currentDecoder.FinishDecode(session, output);
        }