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


C# XdrDecodingStream.xdrDecodeBoolean方法代碼示例

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


在下文中一共展示了XdrDecodingStream.xdrDecodeBoolean方法的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)
 {
     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

示例3: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr) {
     ond_why = xdr.xdrDecodeInt();
     switch ( ond_why ) {
     case why_no_delegation4.WND4_CONTENTION:
         ond_server_will_push_deleg = xdr.xdrDecodeBoolean();
         break;
     case why_no_delegation4.WND4_RESOURCE:
         ond_server_will_signal_avail = xdr.xdrDecodeBoolean();
         break;
     default:
         break;
     }
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:13,代碼來源:open_none_delegation4.cs

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

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

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

示例7: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr) {
     loca_length = new length4(xdr);
     loca_reclaim = xdr.xdrDecodeBoolean();
     loca_stateid = new stateid4(xdr);
     loca_last_write_offset = new newoffset4(xdr);
     loca_time_modify = new newtime4(xdr);
     loca_layoutupdate = new layoutupdate4(xdr);
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:8,代碼來源:LAYOUTCOMMIT4args.cs

示例8: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr)
     {
     sa_sessionid = new sessionid4(xdr);
     sa_sequenceid = new sequenceid4(xdr);
     sa_slotid = new slotid4(xdr);
     sa_highest_slotid = new slotid4(xdr);
     sa_cachethis = xdr.xdrDecodeBoolean();
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:8,代碼來源:SEQUENCE4args.cs

示例9: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr) {
     new_lock_owner = xdr.xdrDecodeBoolean();
     if ( new_lock_owner == true ) {
         open_owner = new open_to_lock_owner4(xdr);
     }
     else if ( new_lock_owner == false ) {
         lock_owner = new exist_lock_owner4(xdr);
     }
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:9,代碼來源:locker4.cs

示例10: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._obj = new NFSHandle();
     this._obj.Version = V3.RPC.NFSv3Protocol.NFS_V3;
     this._obj.xdrDecode(xdr);
     this._new_attributes = new MakeAttributes(xdr);
     this._guardcheck = xdr.xdrDecodeBoolean();
     if (this._guardcheck)
     { this._guardctime = new NFSTimeValue(xdr); }
 }
開發者ID:mushuanli,項目名稱:nekodrive,代碼行數:10,代碼來源:SetAttributeArguments.cs

示例11: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr) {
     gddrnf_status = xdr.xdrDecodeInt();
     switch ( gddrnf_status ) {
     case gddrnf4_status.GDD4_OK:
         gddrnf_resok4 = new GET_DIR_DELEGATION4resok(xdr);
         break;
     case gddrnf4_status.GDD4_UNAVAIL:
         gddrnf_will_signal_deleg_avail = xdr.xdrDecodeBoolean();
         break;
     }
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:11,代碼來源:GET_DIR_DELEGATION4res_non_fatal.cs

示例12: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr) {
     entry4 _this = this;
     entry4 _next;
     do {
         _this.cookie = new nfs_cookie4(xdr);
         _this.name = new component4(xdr);
         _this.attrs = new fattr4(xdr);
         _next = xdr.xdrDecodeBoolean() ? new entry4() : null;
         _this.nextentry = _next;
         _this = _next;
     } while ( _this != null );
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:12,代碼來源:entry4.cs

示例13: xdrDecode

        public void xdrDecode(XdrDecodingStream xdr)
        {
            this._handleexists = xdr.xdrDecodeBoolean();
            if (this._handleexists)
            {
                this._handle = new NFSHandle();
                this._handle.Version = V3.RPC.NFSv3Protocol.NFS_V3;
                this._handle.xdrDecode(xdr);
            }

            this._attributes = new PostOperationAttributes(xdr);
            this._dir_wcc = new WritingData(xdr);
        }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:13,代碼來源:MakeFolderStatus.cs

示例14: xdrDecode

 public void xdrDecode(XdrDecodingStream xdr) {
     logr_status = xdr.xdrDecodeInt();
     switch ( logr_status ) {
     case nfsstat4.NFS4_OK:
         logr_resok4 = new LAYOUTGET4resok(xdr);
         break;
     case nfsstat4.NFS4ERR_LAYOUTTRYLATER:
         logr_will_signal_layout_avail = xdr.xdrDecodeBoolean();
         break;
     default:
         break;
     }
 }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:13,代碼來源:LAYOUTGET4res.cs

示例15: xdrDecode

        public void xdrDecode(XdrDecodingStream xdr)
        {
            Entry _this = this;
            Entry _next;

            do
            {
                _this._fileid = xdr.xdrDecodeInt();
                _this._name = new Name(xdr);
                _this._cookie = new NFSCookie(xdr);
                _next = xdr.xdrDecodeBoolean() ? new Entry() : null;
                _this._nextentry = _next;
                _this = _next;
            } while (_this != null);
        }
開發者ID:zjianliu,項目名稱:NFSClient,代碼行數:15,代碼來源:Entry.cs


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