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