Exemple #1
0
        public static ManageDataResult Decode(XdrDataInputStream stream)
        {
            ManageDataResult     decodedManageDataResult = new ManageDataResult();
            ManageDataResultCode discriminant            = ManageDataResultCode.Decode(stream);

            decodedManageDataResult.Discriminant = discriminant;
            switch (decodedManageDataResult.Discriminant.InnerValue)
            {
            case ManageDataResultCode.ManageDataResultCodeEnum.MANAGE_DATA_SUCCESS:
                break;

            default:
                break;
            }
            return(decodedManageDataResult);
        }
Exemple #2
0
 public static void Encode(XdrDataOutputStream stream, ManageDataResultCode value)
 {
     stream.WriteInt((int)value.InnerValue);
 }