protected override Boolean DoDecode(IoSession session, IoBuffer input, IProtocolDecoderOutput output) { if (input.Remaining >= 4) { Message request = input.GetMessage(); output.Write(request); return true; } else { return false; } }