示例#1
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            this._setmode = xdr.xdrDecodeBoolean();
            if (this._setmode)
            { this._mode.Mode = xdr.xdrDecodeInt(); }

            this._setuid = xdr.xdrDecodeBoolean();
            if (this._setuid)
            { this._uid = xdr.xdrDecodeInt(); }

            this._setgid = xdr.xdrDecodeBoolean();
            if (this._setgid)
            { this._gid = xdr.xdrDecodeInt(); }

            this._setsize = xdr.xdrDecodeBoolean();
            if (this._setsize)
            { this._size = xdr.xdrDecodeInt(); }

            this._setatime = (xdr.xdrDecodeBoolean() ? TimeHow.SET_TO_CLIENT_TIME : TimeHow.DONT_CHANGE);
            if (this._setatime != TimeHow.DONT_CHANGE)
            { this._atime = new NFSTimeValue(xdr); }

            this._setmtime = (xdr.xdrDecodeBoolean() ? TimeHow.SET_TO_CLIENT_TIME : TimeHow.DONT_CHANGE);
            if (this._setmtime != TimeHow.DONT_CHANGE)
            { this._mtime = new NFSTimeValue(xdr); }   
        }
示例#2
0
 public void xdrDecode(XdrDecodingStream xdr) {
     fss_type = xdr.xdrDecodeInt();
     fss_source = new utf8str_cs(xdr);
     fss_current = new utf8str_cs(xdr);
     fss_age = xdr.xdrDecodeInt();
     fss_version = new nfstime4(xdr);
 }
示例#3
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     { int _size = xdr.xdrDecodeInt(); ssp_hash_algs = new sec_oid4[_size]; for ( int _idx = 0; _idx < _size; ++_idx ) { ssp_hash_algs[_idx] = new sec_oid4(xdr); } }
     { int _size = xdr.xdrDecodeInt(); ssp_encr_algs = new sec_oid4[_size]; for ( int _idx = 0; _idx < _size; ++_idx ) { ssp_encr_algs[_idx] = new sec_oid4(xdr); } }
     ssp_window = xdr.xdrDecodeInt();
     ssp_num_gss_handles = xdr.xdrDecodeInt();
 }
示例#4
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._file_wcc = new WritingData(xdr);
     this._count = xdr.xdrDecodeInt();
     this._committed = (StableHow)xdr.xdrDecodeInt();
     this._verf = xdr.xdrDecodeOpaque(NFSv3Protocol.NFS3_WRITEVERFSIZE);
 }
示例#5
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     claim = xdr.xdrDecodeInt();
     switch ( claim ) {
     case open_claim_type4.CLAIM_NULL:
         file = new component4(xdr);
         break;
     case open_claim_type4.CLAIM_PREVIOUS:
         delegate_type = xdr.xdrDecodeInt();
         break;
     case open_claim_type4.CLAIM_DELEGATE_CUR:
         delegate_cur_info = new open_claim_delegate_cur4(xdr);
         break;
     case open_claim_type4.CLAIM_DELEGATE_PREV:
         file_delegate_prev = new component4(xdr);
         break;
     case open_claim_type4.CLAIM_FH:
         break;
     case open_claim_type4.CLAIM_DELEG_PREV_FH:
         break;
     case open_claim_type4.CLAIM_DELEG_CUR_FH:
         oc_delegate_stateid = new stateid4(xdr);
         break;
     }
 }
示例#6
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     stamp = xdr.xdrDecodeInt();
     machinename = xdr.xdrDecodeString();
     uid = xdr.xdrDecodeInt();
     gid = xdr.xdrDecodeInt();
     gids = xdr.xdrDecodeIntVector();
 }
示例#7
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._tsize = xdr.xdrDecodeInt();
     this._bsize = xdr.xdrDecodeInt();
     this._blocks = xdr.xdrDecodeInt();
     this._bfree = xdr.xdrDecodeInt();
     this._bavail = xdr.xdrDecodeInt();
 }
示例#8
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     spi_hash_alg = xdr.xdrDecodeInt();
     spi_encr_alg = xdr.xdrDecodeInt();
     spi_ssv_len = xdr.xdrDecodeInt();
     spi_window = xdr.xdrDecodeInt();
     { int _size = xdr.xdrDecodeInt(); spi_handles = new gsshandle4_t[_size]; for ( int _idx = 0; _idx < _size; ++_idx ) { spi_handles[_idx] = new gsshandle4_t(xdr); } }
 }
示例#9
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._mode.Mode = xdr.xdrDecodeInt();
     this._uid = xdr.xdrDecodeInt();
     this._gid = xdr.xdrDecodeInt();
     this._size = xdr.xdrDecodeInt();
     this._atime = new NFSTimeValue(xdr);
     this._mtime = new NFSTimeValue(xdr);
 }
示例#10
0
 public void xdrDecode(XdrDecodingStream xdr) {
     loga_layout_type = xdr.xdrDecodeInt();
     loga_iomode = xdr.xdrDecodeInt();
     loga_offset = new offset4(xdr);
     loga_length = new length4(xdr);
     loga_minlength = new length4(xdr);
     loga_stateid = new stateid4(xdr);
     loga_maxcount = new count4(xdr);
 }
示例#11
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._file = new NFSHandle();
     this._file.Version = V2.RPC.NFSv2Protocol.NFS_VERSION;
     this._file.xdrDecode(xdr);
     this._offset = xdr.xdrDecodeInt();
     this._count = xdr.xdrDecodeInt();
     this._totalcount = xdr.xdrDecodeInt();
 }
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._obj_attributes = new PostOperationAttributes(xdr);
     this._linkmax = xdr.xdrDecodeInt();
     this._name_max = xdr.xdrDecodeInt();
     this._no_trunc = xdr.xdrDecodeBoolean();
     this._chown_restricted = xdr.xdrDecodeBoolean();
     this._case_insensitive = xdr.xdrDecodeBoolean();
     this._case_preserving = xdr.xdrDecodeBoolean();
 }
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._dir = new NFSHandle();
     this._dir.Version = V3.RPC.NFSv3Protocol.NFS_V3;
     this._dir.xdrDecode(xdr);
     this._cookie = new NFSCookie(xdr);
     this._cookieverf = xdr.xdrDecodeOpaque(NFSv3Protocol.NFS3_COOKIEVERFSIZE);
     this._dircount = xdr.xdrDecodeInt();
     this._maxcount = xdr.xdrDecodeInt();
 }
示例#14
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._file = new NFSHandle();
     this._file.Version = V3.RPC.NFSv3Protocol.NFS_V3;
     this._file.xdrDecode(xdr);
     this._offset = xdr.xdrDecodeLong();
     this._count = xdr.xdrDecodeInt();
     this._stable = (StableHow)xdr.xdrDecodeInt();
     this._data = xdr.xdrDecodeDynamicOpaque();
 }
示例#15
0
 public void xdrDecode(XdrDecodingStream xdr) {
     limitby = xdr.xdrDecodeInt();
     switch ( limitby ) {
     case limit_by4.NFS_LIMIT_SIZE:
         filesize = xdr.xdrDecodeInt();
         break;
     case limit_by4.NFS_LIMIT_BLOCKS:
         mod_blocks = new nfs_modified_limit4(xdr);
         break;
     }
 }
示例#16
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     dc_claim = xdr.xdrDecodeInt();
     switch (dc_claim)
     {
         case open_claim_type4.CLAIM_FH:
             break;
         case open_claim_type4.CLAIM_DELEG_PREV_FH:
             break;
         case open_claim_type4.CLAIM_PREVIOUS:
             dc_delegate_type = xdr.xdrDecodeInt();
             break;
     }
 }
示例#17
0
    public void xdrDecode(XdrDecodingStream xdr)
 {
        eia_clientowner = new client_owner4(xdr);
        eia_flags = new uint32_t(xdr);
        eia_state_protect = new state_protect4_a(xdr);
        { int size = xdr.xdrDecodeInt(); eia_client_impl_id = new nfs_impl_id4[size]; for ( int idx = 0; idx < size; ++idx ) { eia_client_impl_id[idx] = new nfs_impl_id4(xdr); } }
    }
示例#18
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     stateid = new stateid4(xdr);
     offset = new offset4(xdr);
     stable = xdr.xdrDecodeInt();
     data = xdr.xdrDecodeDynamicOpaque();
 }
示例#19
0
 public void xdrDecode(XdrDecodingStream xdr) {
     csa_sequenceid = new sequenceid4(xdr);
     csa_slotid = new slotid4(xdr);
     csa_highest_slotid = new slotid4(xdr);
     csa_cachethis = xdr.xdrDecodeBoolean();
     { int _size = xdr.xdrDecodeInt(); csa_referring_call_lists = new referring_call_list4[_size]; for ( int _idx = 0; _idx < _size; ++_idx ) { csa_referring_call_lists[_idx] = new referring_call_list4(xdr); } }
 }
示例#20
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._attributes = new PostOperationAttributes(xdr);
     this._count = xdr.xdrDecodeInt();
     this._eof = xdr.xdrDecodeBoolean();
     this._data = xdr.xdrDecodeDynamicOpaque();
 }
示例#21
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._obj = new NFSHandle();
     this._obj.Version = V3.RPC.NFSv3Protocol.NFS_V3;
     this._obj.xdrDecode(xdr);
     this._access = xdr.xdrDecodeInt();
 }
示例#22
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._item = new NFSHandle();
     this._item.Version = V2.RPC.NFSv2Protocol.NFS_VERSION;
     this._item.xdrDecode(xdr);
     this._cookie = new NFSCookie(xdr);
     this._count = xdr.xdrDecodeInt();
 }
示例#23
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._file = new NFSHandle();
     this._file.Version = V3.RPC.NFSv3Protocol.NFS_V3;
     this._file.xdrDecode(xdr);
     this._offset = xdr.xdrDecodeLong();
     this._count = xdr.xdrDecodeInt();
 }
示例#24
0
 public void xdrDecode(XdrDecodingStream xdr){
     ca_headerpadsize = new count4(xdr);
     ca_maxrequestsize = new count4(xdr);
     ca_maxresponsesize = new count4(xdr);
     ca_maxresponsesize_cached = new count4(xdr);
     ca_maxoperations = new count4(xdr);
     ca_maxrequests = new count4(xdr);
     { int size = xdr.xdrDecodeInt(); ca_rdma_ird = new uint32_t[size]; for ( int idx = 0; idx < size; ++idx ) { ca_rdma_ird[idx] = new uint32_t(xdr); } }
 }
示例#25
0
 public void xdrDecode(XdrDecodingStream xdr) {
     status = xdr.xdrDecodeInt();
     switch ( status ) {
     case nfsstat4.NFS4_OK:
         resok4 = new COMMIT4resok(xdr);
         break;
     default:
         break;
     }
 }
示例#26
0
 public void xdrDecode(XdrDecodingStream xdr) {
     lr_returntype = xdr.xdrDecodeInt();
     switch ( lr_returntype ) {
     case layoutreturn_type4.LAYOUTRETURN4_FILE:
         lr_layout = new layoutreturn_file4(xdr);
         break;
     default:
         break;
     }
 }
示例#27
0
 public void xdrDecode(XdrDecodingStream xdr) {
     csr_status = xdr.xdrDecodeInt();
     switch ( csr_status ) {
     case nfsstat4.NFS4_OK:
         csr_resok4 = new CREATE_SESSION4resok(xdr);
         break;
     default:
         break;
     }
 }
示例#28
0
 public void xdrDecode(XdrDecodingStream xdr) {
     ssr_status = xdr.xdrDecodeInt();
     switch ( ssr_status ) {
     case nfsstat4.NFS4_OK:
         ssr_resok4 = new SET_SSV4resok(xdr);
         break;
     default:
         break;
     }
 }
示例#29
0
 public void xdrDecode(XdrDecodingStream xdr) {
     wdr_status = xdr.xdrDecodeInt();
     switch ( wdr_status ) {
     case nfsstat4.NFS4_OK:
         wdr_resok4 = new open_delegation4(xdr);
         break;
     default:
         break;
     }
 }
示例#30
0
 public void xdrDecode(XdrDecodingStream xdr) {
     eir_status = xdr.xdrDecodeInt();
     switch ( eir_status ) {
     case nfsstat4.NFS4_OK:
         eir_resok4 = new EXCHANGE_ID4resok(xdr);
         break;
     default:
         break;
     }
 }