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


C# oncrpc.XdrDecodingStream類代碼示例

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


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

示例1: xdrDecode

        public void xdrDecode(XdrDecodingStream xdr)
        {
            this._attributes_follow = xdr.xdrDecodeBoolean();

            if (this._attributes_follow)
            { this._attributes = new FileAttributes(xdr); }
        }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:7,代碼來源:PostOperationAttributes.cs

示例2: xdrDecode

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

示例3: 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

示例4: 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

示例5: 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

示例6: 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

示例7: xdrDecode

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

示例8: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._fhandle = new NFSHandle();
     this._fhandle.Version = NFSv3MountProtocol.MOUNTVERS;
     this._fhandle.xdrDecode(xdr);
     this._auth_flavors = xdr.xdrDecodeIntVector();
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:7,代碼來源:MountStatus.cs

示例9: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._from = new NFSHandle();
     this._from.Version = V2.RPC.NFSv2Protocol.NFS_VERSION;
     this._from.xdrDecode(xdr);
     this._to = new ItemOperationArguments(xdr);
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:7,代碼來源:LinkArguments.cs

示例10: xdrDecode

 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); } }
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:7,代碼來源:CB_SEQUENCE4args.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._attributes = new CreateAttributes(xdr);
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:7,代碼來源:FileArguments.cs

示例12: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr)
 {
     stateid = new stateid4(xdr);
     offset = new offset4(xdr);
     stable = xdr.xdrDecodeInt();
     data = xdr.xdrDecodeDynamicOpaque();
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:7,代碼來源:WRITE4args.cs

示例13: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._attributes = new PostOperationAttributes(xdr);
     this._count = xdr.xdrDecodeInt();
     this._eof = xdr.xdrDecodeBoolean();
     this._data = xdr.xdrDecodeDynamicOpaque();
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:7,代碼來源:ReadStatus.cs

示例14: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._dir = new NFSHandle();
     this._dir.Version = V2.RPC.NFSv2Protocol.NFS_VERSION;
     this._dir.xdrDecode(xdr);
     this._name = new Name(xdr);
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:7,代碼來源:ItemOperationArguments.cs

示例15: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._file = new NFSHandle();
     this._file.Version = V3.RPC.NFSv3Protocol.NFS_V3;
     this._file.xdrDecode(xdr);
     this._link = new ItemOperationArguments(xdr);
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:7,代碼來源:LinkArguments.cs


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