public static SetOptionsResult Decode(XdrDataInputStream stream)
        {
            SetOptionsResult     decodedSetOptionsResult = new SetOptionsResult();
            SetOptionsResultCode discriminant            = SetOptionsResultCode.Decode(stream);

            decodedSetOptionsResult.Discriminant = discriminant;
            switch (decodedSetOptionsResult.Discriminant.InnerValue)
            {
            case SetOptionsResultCode.SetOptionsResultCodeEnum.SET_OPTIONS_SUCCESS:
                break;

            default:
                break;
            }
            return(decodedSetOptionsResult);
        }
Ejemplo n.º 2
0
 public static void Encode(XdrDataOutputStream stream, SetOptionsResultCode value)
 {
     stream.WriteInt((int)value.InnerValue);
 }