示例#1
0
        public bool Equals(Nfs3WeakCacheConsistency other)
        {
            if (other == null)
            {
                return(false);
            }

            return(object.Equals(other.After, After) &&
                   object.Equals(other.Before, Before));
        }
示例#2
0
 internal Nfs3WriteResult(XdrDataReader reader)
 {
     Status           = (Nfs3Status)reader.ReadInt32();
     CacheConsistency = new Nfs3WeakCacheConsistency(reader);
     if (Status == Nfs3Status.Ok)
     {
         Count         = reader.ReadInt32();
         HowCommitted  = (Nfs3StableHow)reader.ReadInt32();
         WriteVerifier = reader.ReadUInt64();
     }
 }
示例#3
0
        internal 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);
        }
示例#4
0
 internal Nfs3ModifyResult(XdrDataReader reader)
 {
     Status           = (Nfs3Status)reader.ReadInt32();
     CacheConsistency = new Nfs3WeakCacheConsistency(reader);
 }