當前位置: 首頁>>代碼示例>>C#>>正文


C# XdrDecodingStream.xdrDecodeInt方法代碼示例

本文整理匯總了C#中org.acplt.oncrpc.XdrDecodingStream.xdrDecodeInt方法的典型用法代碼示例。如果您正苦於以下問題:C# XdrDecodingStream.xdrDecodeInt方法的具體用法?C# XdrDecodingStream.xdrDecodeInt怎麽用?C# XdrDecodingStream.xdrDecodeInt使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.acplt.oncrpc.XdrDecodingStream的用法示例。


在下文中一共展示了XdrDecodingStream.xdrDecodeInt方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: xdrDecode

        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); }   
        }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:26,代碼來源:MakeAttributes.cs

示例2: xdrDecode

 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);
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:7,代碼來源:fs4_status.cs

示例3: xdrDecode

 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();
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:7,代碼來源:ssv_sp_parms4.cs

示例4: xdrDecode

 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);
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:7,代碼來源:WriteStatus.cs

示例5: xdrDecode

 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;
     }
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:25,代碼來源:open_claim4.cs

示例6: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr)
 {
     stamp = xdr.xdrDecodeInt();
     machinename = xdr.xdrDecodeString();
     uid = xdr.xdrDecodeInt();
     gid = xdr.xdrDecodeInt();
     gids = xdr.xdrDecodeIntVector();
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:8,代碼來源:authsys_parms.cs

示例7: xdrDecode

 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();
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:8,代碼來源:Info.cs

示例8: xdrDecode

 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); } }
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:8,代碼來源:ssv_prot_info4.cs

示例9: xdrDecode

 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);
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:9,代碼來源:CreateArguments.cs

示例10: xdrDecode

 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);
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:9,代碼來源:LAYOUTGET4args.cs

示例11: xdrDecode

 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();
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:9,代碼來源:ReadArguments.cs

示例12: xdrDecode

 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();
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:10,代碼來源:PathConfigurationStatus.cs

示例13: xdrDecode

 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();
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:10,代碼來源:ExtendedReadFolderArguments.cs

示例14: xdrDecode

 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();
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:10,代碼來源:WriteArguments.cs

示例15: xdrDecode

 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;
     }
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:11,代碼來源:nfs_space_limit4.cs


注:本文中的org.acplt.oncrpc.XdrDecodingStream.xdrDecodeInt方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。