예제 #1
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            this._type = (NFSItemTypes)xdr.xdrDecodeInt();

            switch (this._type)
            {
            case NFSItemTypes.NFCHR:
                this._device_chr = new DeviceData(xdr);
                break;

            case NFSItemTypes.NFBLK:
                this._device_blk = new DeviceData(xdr);
                break;

            case NFSItemTypes.NFSOCK:
                this._pipe_attributes_sock = new MakeAttributes(xdr);
                break;

            case NFSItemTypes.NFFIFO:
                this._pipe_attributes_fifo = new MakeAttributes(xdr);
                break;

            default:
                break;
            }
        }
예제 #2
0
 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); }
 }
예제 #3
0
 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);
     }
 }
예제 #4
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            this._mode = (MakeFileModes)xdr.xdrDecodeInt();

            switch (this._mode)
            {
            case MakeFileModes.UNCHECKED:
            case MakeFileModes.GUARDED:
                this._obj_attributes = new MakeAttributes(xdr);
                break;

            case MakeFileModes.EXCLUSIVE:
                this._verf = xdr.xdrDecodeOpaque(NFSv3Protocol.NFS3_CREATEVERFSIZE);
                break;
            }
        }
예제 #5
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._dev_attributes = new MakeAttributes(xdr);
     this._spec           = new SpecInformation(xdr);
 }
예제 #6
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            this._mode = (MakeFileModes)xdr.xdrDecodeInt();

            switch (this._mode)
            {
                case MakeFileModes.UNCHECKED:
                case MakeFileModes.GUARDED:
                    this._obj_attributes = new MakeAttributes(xdr);
                    break;
                case MakeFileModes.EXCLUSIVE:
                    this._verf = xdr.xdrDecodeOpaque(NFSv3Protocol.NFS3_CREATEVERFSIZE);
                    break;
            }
        }
예제 #7
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._where = new ItemOperationArguments(xdr);
     this._attributes = new MakeAttributes(xdr);
 }
예제 #8
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            this._type = (NFSItemTypes)xdr.xdrDecodeInt();

            switch (this._type)
            {
                case NFSItemTypes.NFCHR:
                    this._device_chr = new DeviceData(xdr);
                    break;
                case NFSItemTypes.NFBLK:
                    this._device_blk = new DeviceData(xdr);
                    break;
                case NFSItemTypes.NFSOCK:
                    this._pipe_attributes_sock = new MakeAttributes(xdr);
                    break;
                case NFSItemTypes.NFFIFO:
                    this._pipe_attributes_fifo = new MakeAttributes(xdr);
                    break;
                default:
                    break;
            }
        }
예제 #9
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._dev_attributes = new MakeAttributes(xdr);
     this._spec = new SpecInformation(xdr);
 }
예제 #10
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._symlink_attributes = new MakeAttributes(xdr);
     this._symlink_data       = new Name(xdr);
 }
예제 #11
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._symlink_attributes = new MakeAttributes(xdr);
     this._symlink_data = new Name(xdr);
 }
예제 #12
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._where      = new ItemOperationArguments(xdr);
     this._attributes = new MakeAttributes(xdr);
 }