public Nfs3WeakCacheConsistency(XdrDataReader reader)
 {
     if (reader.ReadBool())
     {
         Before = new Nfs3WeakCacheConsistencyAttr(reader);
     }
     if (reader.ReadBool())
     {
         After = new Nfs3FileAttributes(reader);
     }
 }
 public Nfs3WeakCacheConsistency(XdrDataReader reader)
 {
     if (reader.ReadBool())
     {
         Before = new Nfs3WeakCacheConsistencyAttr(reader);
     }
     if (reader.ReadBool())
     {
         After = new Nfs3FileAttributes(reader);
     }
 }
 public Nfs3ReadResult(XdrDataReader reader)
 {
     Status = (Nfs3Status)reader.ReadInt32();
     if (reader.ReadBool())
     {
         FileAttributes = new Nfs3FileAttributes(reader);
     }
     if (Status == Nfs3Status.Ok)
     {
         Count = reader.ReadInt32();
         Eof = reader.ReadBool();
         Data = reader.ReadBuffer();
     }
 }
 public Nfs3ReadResult(XdrDataReader reader)
 {
     Status = (Nfs3Status)reader.ReadInt32();
     if (reader.ReadBool())
     {
         FileAttributes = new Nfs3FileAttributes(reader);
     }
     if (Status == Nfs3Status.Ok)
     {
         Count = reader.ReadInt32();
         Eof   = reader.ReadBool();
         Data  = reader.ReadBuffer();
     }
 }
Beispiel #5
0
 public Nfs3DirectoryEntry(XdrDataReader reader)
 {
     FileId = reader.ReadUInt64();
     Name   = reader.ReadString();
     Cookie = reader.ReadUInt64();
     if (reader.ReadBool())
     {
         FileAttributes = new Nfs3FileAttributes(reader);
     }
     if (reader.ReadBool())
     {
         FileHandle = new Nfs3FileHandle(reader);
     }
 }
 public Nfs3DirectoryEntry(XdrDataReader reader)
 {
     FileId = reader.ReadUInt64();
     Name = reader.ReadString();
     Cookie = reader.ReadUInt64();
     if (reader.ReadBool())
     {
         FileAttributes = new Nfs3FileAttributes(reader);
     }
     if (reader.ReadBool())
     {
         FileHandle = new Nfs3FileHandle(reader);
     }
 }
        public Nfs3LookupResult(XdrDataReader reader)
        {
            Status = (Nfs3Status)reader.ReadInt32();
            if (Status == Nfs3Status.Ok)
            {
                ObjectHandle = new Nfs3FileHandle(reader);
                if (reader.ReadBool())
                {
                    ObjectAttributes = new Nfs3FileAttributes(reader);
                }
            }

            if (reader.ReadBool())
            {
                DirAttributes = new Nfs3FileAttributes(reader);
            }
        }
        public Nfs3CreateResult(XdrDataReader reader)
        {
            Status = (Nfs3Status)reader.ReadInt32();
            if (Status == Nfs3Status.Ok)
            {
                if (reader.ReadBool())
                {
                    FileHandle = new Nfs3FileHandle(reader);
                }
                if (reader.ReadBool())
                {
                    FileAttributes = new Nfs3FileAttributes(reader);
                }
            }

            CacheConsistency = new Nfs3WeakCacheConsistency(reader);
        }
Beispiel #9
0
        public Nfs3LookupResult(XdrDataReader reader)
        {
            Status = (Nfs3Status)reader.ReadInt32();
            if (Status == Nfs3Status.Ok)
            {
                ObjectHandle = new Nfs3FileHandle(reader);
                if (reader.ReadBool())
                {
                    ObjectAttributes = new Nfs3FileAttributes(reader);
                }
            }

            if (reader.ReadBool())
            {
                DirAttributes = new Nfs3FileAttributes(reader);
            }
        }
        public Nfs3CreateResult(XdrDataReader reader)
        {
            Status = (Nfs3Status)reader.ReadInt32();
            if (Status == Nfs3Status.Ok)
            {
                if (reader.ReadBool())
                {
                    FileHandle = new Nfs3FileHandle(reader);
                }
                if (reader.ReadBool())
                {
                    FileAttributes = new Nfs3FileAttributes(reader);
                }
            }

            CacheConsistency = new Nfs3WeakCacheConsistency(reader);
        }
 public Nfs3AccessResult(XdrDataReader reader)
 {
     Status = (Nfs3Status)reader.ReadInt32();
     if (reader.ReadBool())
     {
         ObjectAttributes = new Nfs3FileAttributes(reader);
     }
     Access = (Nfs3AccessPermissions)reader.ReadInt32();
 }
 public Nfs3AccessResult(XdrDataReader reader)
 {
     Status = (Nfs3Status)reader.ReadInt32();
     if (reader.ReadBool())
     {
         ObjectAttributes = new Nfs3FileAttributes(reader);
     }
     Access = (Nfs3AccessPermissions)reader.ReadInt32();
 }
Beispiel #13
0
 public Nfs3FileSystemInfoResult(XdrDataReader reader)
 {
     Status = (Nfs3Status)reader.ReadInt32();
     if (reader.ReadBool())
     {
         PostOpAttributes = new Nfs3FileAttributes(reader);
     }
     if (Status == Nfs3Status.Ok)
     {
         FileSystemInfo = new Nfs3FileSystemInfo(reader);
     }
 }
 public Nfs3FileSystemInfoResult(XdrDataReader reader)
 {
     Status = (Nfs3Status)reader.ReadInt32();
     if (reader.ReadBool())
     {
         PostOpAttributes = new Nfs3FileAttributes(reader);
     }
     if (Status == Nfs3Status.Ok)
     {
         FileSystemInfo = new Nfs3FileSystemInfo(reader);
     }
 }