コード例 #1
0
ファイル: ReadArguments.cs プロジェクト: zjianliu/NFSClient
 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();
 }
コード例 #2
0
ファイル: WriteArguments.cs プロジェクト: mushuanli/nekodrive
 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();
 }
コード例 #3
0
ファイル: FileAttributes.cs プロジェクト: zjianliu/NFSClient
        public void xdrDecode(XdrDecodingStream xdr)
        {
            this._type = (NFSItemTypes)xdr.xdrDecodeInt();

            this._mode = new NFSPermission();
            this._mode.Mode = xdr.xdrDecodeInt();

            this._nlink = xdr.xdrDecodeInt();
            this._uid = xdr.xdrDecodeInt();
            this._gid = xdr.xdrDecodeInt();
            this._size = xdr.xdrDecodeLong();
            this._used = xdr.xdrDecodeLong();
            
            this._rdev = new SpecInformation();
            this._rdev.xdrDecode(xdr);
            
            this._fsid = xdr.xdrDecodeLong();
            this._fileid = xdr.xdrDecodeLong();
            this._atime = new NFSTimeValue(xdr);
            this._mtime = new NFSTimeValue(xdr);
            this._ctime = new NFSTimeValue(xdr);
        }
コード例 #4
0
ファイル: FSInfoStatus.cs プロジェクト: mushuanli/nekodrive
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._obj_attributes = new PostOperationAttributes(xdr);
     this._rtmax = xdr.xdrDecodeInt();
     this._rtpref = xdr.xdrDecodeInt();
     this._rtmult = xdr.xdrDecodeInt();
     this._wtmax = xdr.xdrDecodeInt();
     this._wtpref = xdr.xdrDecodeInt();
     this._wtmult = xdr.xdrDecodeInt();
     this._dtpref = xdr.xdrDecodeInt();
     this._maxfilesize = xdr.xdrDecodeLong();
     this._time_delta = new NFSTimeValue(xdr);
     this._properties = xdr.xdrDecodeInt();
 }
コード例 #5
0
ファイル: Entry.cs プロジェクト: zjianliu/NFSClient
        public void xdrDecode(XdrDecodingStream xdr)
        {
            Entry _this = this;
            Entry _next;

            do
            {
                _this._fileid = xdr.xdrDecodeLong();
                _this._name = new Name(xdr);
                _this._cookie = new NFSCookie(xdr);
                _next = xdr.xdrDecodeBoolean() ? new Entry() : null;
                _this._nextentry = _next;
                _this = _next;
            } while (_this != null);
        }
コード例 #6
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._obj_attributes = new PostOperationAttributes(xdr);
     this._tbytes = xdr.xdrDecodeLong();
     this._fbytes = xdr.xdrDecodeLong();
     this._abytes = xdr.xdrDecodeLong();
     this._tfiles = xdr.xdrDecodeLong();
     this._ffiles = xdr.xdrDecodeLong();
     this._afiles = xdr.xdrDecodeLong();
     this._invarsec = xdr.xdrDecodeInt();
 }
コード例 #7
0
ファイル: NFSCookie.cs プロジェクト: mushuanli/nekodrive
 public void xdrDecode(XdrDecodingStream xdr)
 { this._value = xdr.xdrDecodeLong(); }
コード例 #8
0
        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);
        }
コード例 #9
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._size = xdr.xdrDecodeLong();
     this._mtime = new NFSTimeValue(xdr);
     this._ctime = new NFSTimeValue(xdr);
 }