コード例 #1
0
        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);
        }
コード例 #2
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);
        }
コード例 #3
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._dev_attributes = new MakeAttributes(xdr);
     this._spec           = new SpecInformation(xdr);
 }
コード例 #4
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._dev_attributes = new MakeAttributes(xdr);
     this._spec = new SpecInformation(xdr);
 }