Ejemplo n.º 1
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            this._attributes_follow = xdr.xdrDecodeBoolean();

            if (this._attributes_follow)
            { this._attributes = new FileAttributes(xdr); }
        }
Ejemplo n.º 2
0
 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();
 }
Ejemplo n.º 3
0
        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); }   
        }
Ejemplo n.º 4
0
 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);
 }
Ejemplo n.º 5
0
 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();
 }
Ejemplo n.º 6
0
 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;
     }
 }
Ejemplo n.º 7
0
    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); } }
    }
Ejemplo n.º 8
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._fhandle = new NFSHandle();
     this._fhandle.Version = NFSv3MountProtocol.MOUNTVERS;
     this._fhandle.xdrDecode(xdr);
     this._auth_flavors = xdr.xdrDecodeIntVector();
 }
Ejemplo n.º 9
0
 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);
 }
Ejemplo n.º 10
0
 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); } }
 }
Ejemplo n.º 11
0
 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);
 }
Ejemplo n.º 12
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     stateid = new stateid4(xdr);
     offset = new offset4(xdr);
     stable = xdr.xdrDecodeInt();
     data = xdr.xdrDecodeDynamicOpaque();
 }
Ejemplo n.º 13
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._attributes = new PostOperationAttributes(xdr);
     this._count = xdr.xdrDecodeInt();
     this._eof = xdr.xdrDecodeBoolean();
     this._data = xdr.xdrDecodeDynamicOpaque();
 }
Ejemplo n.º 14
0
 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);
 }
Ejemplo n.º 15
0
 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);
 }
Ejemplo n.º 16
0
 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);
 }
Ejemplo n.º 17
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._obj = new NFSHandle();
     this._obj.Version = V3.RPC.NFSv3Protocol.NFS_V3;
     this._obj.xdrDecode(xdr);
     this._obj_attributes = new PostOperationAttributes(xdr);
     this._dir_attributes = new PostOperationAttributes(xdr);
 }
Ejemplo n.º 18
0
 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();
 }
Ejemplo n.º 19
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     gdda_notification_types = new bitmap4(xdr);
     gdda_child_attr_delay = new attr_notice4(xdr);
     gdda_dir_attr_delay = new attr_notice4(xdr);
     gdda_child_attributes = new bitmap4(xdr);
     gdda_dir_attributes = new bitmap4(xdr);
 }
Ejemplo n.º 20
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     cookie = new nfs_cookie4(xdr);
     cookieverf = new verifier4(xdr);
     dircount = new count4(xdr);
     maxcount = new count4(xdr);
     attr_request = new bitmap4(xdr);
 }
Ejemplo n.º 21
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     stamp = xdr.xdrDecodeInt();
     machinename = xdr.xdrDecodeString();
     uid = xdr.xdrDecodeInt();
     gid = xdr.xdrDecodeInt();
     gids = xdr.xdrDecodeIntVector();
 }
Ejemplo n.º 22
0
 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();
 }
Ejemplo n.º 23
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     csr_sessionid = new sessionid4(xdr);
     csr_sequence = new sequenceid4(xdr);
     csr_flags = new uint32_t(xdr);
     csr_fore_chan_attrs = new channel_attrs4(xdr);
     csr_back_chan_attrs = new channel_attrs4(xdr);
 }
Ejemplo n.º 24
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     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);
 }
Ejemplo n.º 25
0
 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);
 }
Ejemplo n.º 26
0
 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); } }
 }
Ejemplo n.º 27
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._hostname = new Name(xdr);
     this._directory = new NFSHandle();
     this._directory.Version = V2.RPC.NFSv2Protocol.NFS_VERSION;
     this._directory.xdrDecode(xdr);
     this._nextentry = new MountList(xdr);
 }
Ejemplo n.º 28
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     stateid = new stateid4(xdr);
     cinfo = new change_info4(xdr);
     rflags = new uint32_t(xdr);
     attrset = new bitmap4(xdr);
     delegation = new open_delegation4(xdr);
 }
Ejemplo n.º 29
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._item = new NFSHandle();
     this._item.Version = V2.RPC.NFSv2Protocol.NFS_VERSION;
     this._item.xdrDecode(xdr);
     this._cookie = new NFSCookie(xdr);
     this._count = xdr.xdrDecodeInt();
 }
Ejemplo n.º 30
0
 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();
 }