当前位置: 首页>>代码示例>>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;未经允许,请勿转载。