示例#1
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); }   
        }
 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();
 }
 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;
     }
 }
示例#4
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._attributes = new PostOperationAttributes(xdr);
     this._count = xdr.xdrDecodeInt();
     this._eof = xdr.xdrDecodeBoolean();
     this._data = xdr.xdrDecodeDynamicOpaque();
 }
        public void xdrDecode(XdrDecodingStream xdr)
        {
            this._attributes_follow = xdr.xdrDecodeBoolean();

            if (this._attributes_follow)
            { this._attributes = new FileAttributes(xdr); }
        }
示例#6
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); } }
 }
示例#7
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);
 }
示例#8
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();
 }
示例#9
0
 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);
     }
 }
 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); }
 }
 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;
     }
 }
示例#12
0
 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 );
 }
示例#13
0
        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);
        }
示例#14
0
 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;
     }
 }
示例#15
0
        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);
        }
示例#16
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._value = xdr.xdrDecodeBoolean() ? new GroupNode(xdr) : null;
 }
        public void xdrDecode(XdrDecodingStream xdr)
        {
            FolderEntry _this = this;
            FolderEntry _next;

            do
            {
                _this._fileid = xdr.xdrDecodeLong();
                _this._name = new Name(xdr);
                _this._cookie = new NFSCookie(xdr);
                _this._name_attributes = new PostOperationAttributes(xdr);
                _this._name_handle = new NFSHandle();
                _this._name_handle.Version = V3.RPC.NFSv3Protocol.NFS_V3;
                _this._name_handle.xdrDecode(xdr);
                _next = xdr.xdrDecodeBoolean() ? new FolderEntry() : null;
                _this._nextentry = _next;
                _this = _next;
            } while (_this != null);
        }
示例#18
0
 public void xdrDecode(XdrDecodingStream xdr) {
     value = xdr.xdrDecodeBoolean();
 }
示例#19
0
 public void xdrDecode(XdrDecodingStream xdr) {
     reclaim = xdr.xdrDecodeBoolean();
     offset = new offset4(xdr);
     length = new length4(xdr);
     locker = new locker4(xdr);
 }
示例#20
0
 public void xdrDecode(XdrDecodingStream xdr) {
     gdlr_cookieverf = new verifier4(xdr);
     { int _size = xdr.xdrDecodeInt(); gdlr_deviceid_list = new deviceid4[_size]; for ( int _idx = 0; _idx < _size; ++_idx ) { gdlr_deviceid_list[_idx] = new deviceid4(xdr); } }
     gdlr_eof = xdr.xdrDecodeBoolean();
 }
示例#21
0
 public void xdrDecode(XdrDecodingStream xdr) {
     ns_sizechanged = xdr.xdrDecodeBoolean();
     if ( ns_sizechanged == true ) {
         ns_size = new length4(xdr);
     }
 }
 public void xdrDecode(XdrDecodingStream xdr) {
     ndc_deviceid = new deviceid4(xdr);
     ndc_immediate = xdr.xdrDecodeBoolean();
 }
示例#23
0
 public void xdrDecode(XdrDecodingStream xdr) {
     clora_iomode =  xdr.xdrDecodeInt();
     clora_changed = xdr.xdrDecodeBoolean();
     clora_recall = new layoutrecall4(xdr);
 }
 public void xdrDecode(XdrDecodingStream xdr)
 {
     bctsa_dir = xdr.xdrDecodeInt();
     bctsa_use_conn_in_rdma_mode = xdr.xdrDecodeBoolean();
 }
示例#25
0
 public void xdrDecode(XdrDecodingStream xdr) {
     truncate = xdr.xdrDecodeBoolean();
     fh = new nfs_fh4(xdr);
 }
示例#26
0
  public void xdrDecode(XdrDecodingStream xdr)
 {
      atomic = xdr.xdrDecodeBoolean();
      before = new changeid4(xdr);
      after = new changeid4(xdr);
  }
示例#27
0
 public void xdrDecode(XdrDecodingStream xdr) {
     no_newoffset = xdr.xdrDecodeBoolean();
     if ( no_newoffset == true ) {
         no_offset = new offset4(xdr);
     }
 }
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._entries = xdr.xdrDecodeBoolean() ? new FolderEntry(xdr) : null;
     this._eof = xdr.xdrDecodeBoolean();
 }
示例#29
0
 public void xdrDecode(XdrDecodingStream xdr) {
     nad_new_entry = new notify_entry4(xdr);
     { int _size = xdr.xdrDecodeInt(); nad_new_entry_cookie = new nfs_cookie4[_size]; for ( int _idx = 0; _idx < _size; ++_idx ) { nad_new_entry_cookie[_idx] = new nfs_cookie4(xdr); } }
     { int _size = xdr.xdrDecodeInt(); nad_prev_entry = new prev_entry4[_size]; for ( int _idx = 0; _idx < _size; ++_idx ) { nad_prev_entry[_idx] = new prev_entry4(xdr); } }
     nad_last_entry = xdr.xdrDecodeBoolean();
 }
示例#30
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     recall = xdr.xdrDecodeBoolean();
     permissions = new nfsace4(xdr);
 }