public override void DecodeBody(byte[] bytes)
        {
            MemoryStream ms = new MemoryStream(bytes);

            using (ms){
                ConnectConfirmRequestModel entity = Serializer.Deserialize <ConnectConfirmRequestModel>(ms);
                this.token  = entity.token;
                this.userId = entity.userId;
                this.roleId = entity.roleId;
            }
        }
        public override byte[] EncodeBody()
        {
            ConnectConfirmRequestModel entity = new ConnectConfirmRequestModel();

            entity.token  = this.token;
            entity.userId = this.userId;
            entity.roleId = this.roleId;
            MemoryStream ms = new MemoryStream();

            using (ms){
                Serializer.Serialize(ms, entity);
                return(ms.ToArray());
            }
        }