Пример #1
0
 public void xdrDecode(XdrDecodingStream xdr) {
     delegation_type = xdr.xdrDecodeInt();
     switch ( delegation_type ) {
     case open_delegation_type4.OPEN_DELEGATE_NONE:
         break;
     case open_delegation_type4.OPEN_DELEGATE_READ:
         read = new open_read_delegation4(xdr);
         break;
     case open_delegation_type4.OPEN_DELEGATE_WRITE:
         write = new open_write_delegation4(xdr);
         break;
     case open_delegation_type4.OPEN_DELEGATE_NONE_EXT:
         od_whynone = new open_none_delegation4(xdr);
         break;
     }
 }
Пример #2
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            delegation_type = xdr.xdrDecodeInt();
            switch (delegation_type)
            {
            case open_delegation_type4.OPEN_DELEGATE_NONE:
                break;

            case open_delegation_type4.OPEN_DELEGATE_READ:
                read = new open_read_delegation4(xdr);
                break;

            case open_delegation_type4.OPEN_DELEGATE_WRITE:
                write = new open_write_delegation4(xdr);
                break;

            case open_delegation_type4.OPEN_DELEGATE_NONE_EXT:
                od_whynone = new open_none_delegation4(xdr);
                break;
            }
        }