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