public Nfs3AccessResult(XdrDataReader reader) { Status = (Nfs3Status)reader.ReadInt32(); if (reader.ReadBool()) { ObjectAttributes = new Nfs3FileAttributes(reader); } Access = (Nfs3AccessPermissions)reader.ReadInt32(); }
public Nfs3WriteResult(XdrDataReader reader) { Status = (Nfs3Status)reader.ReadInt32(); CacheConsistency = new Nfs3WeakCacheConsistency(reader); if (Status == Nfs3Status.Ok) { Count = reader.ReadInt32(); HowCommitted = reader.ReadInt32(); WriteVerifier = reader.ReadBytes(Nfs3.WriteVerifierSize); } }
public RpcRejectedReplyHeader(XdrDataReader reader) { Status = (RpcRejectedStatus)reader.ReadInt32(); if (Status == RpcRejectedStatus.RpcMismatch) { MismatchInfo = new RpcMismatchInfo(reader); } else { AuthenticationStatus = (RpcAuthenticationStatus)reader.ReadInt32(); } }
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 Nfs3FileAttributes(XdrDataReader reader) { Type = (Nfs3FileType)reader.ReadInt32(); Mode = (UnixFilePermissions)reader.ReadInt32(); LinkCount = reader.ReadUInt32(); Uid = reader.ReadUInt32(); Gid = reader.ReadUInt32(); Size = reader.ReadInt64(); BytesUsed = reader.ReadInt64(); RdevMajor = reader.ReadUInt32(); RdevMinor = reader.ReadUInt32(); FileSystemId = reader.ReadUInt64(); FileId = reader.ReadUInt64(); AccessTime = new Nfs3FileTime(reader); ModifyTime = new Nfs3FileTime(reader); ChangeTime = new Nfs3FileTime(reader); }
public RpcAcceptedReplyHeader(XdrDataReader reader) { Verifier = new RpcAuthentication(reader); AcceptStatus = (RpcAcceptStatus)reader.ReadInt32(); if (AcceptStatus == RpcAcceptStatus.ProgramVersionMismatch) { MismatchInfo = new RpcMismatchInfo(reader); } }
public RpcReplyHeader(XdrDataReader reader) { Status = (RpcReplyStatus)reader.ReadInt32(); if (Status == RpcReplyStatus.Accepted) { AcceptReply = new RpcAcceptedReplyHeader(reader); } else { RejectedReply = new RpcRejectedReplyHeader(reader); } }
public Nfs3FileSystemInfoResult(XdrDataReader reader) { Status = (Nfs3Status)reader.ReadInt32(); if (reader.ReadBool()) { PostOpAttributes = new Nfs3FileAttributes(reader); } if (Status == Nfs3Status.Ok) { FileSystemInfo = new Nfs3FileSystemInfo(reader); } }
public Nfs3FileSystemInfo(XdrDataReader reader) { ReadMaxBytes = reader.ReadUInt32(); ReadPreferredBytes = reader.ReadUInt32(); ReadMultipleSize = reader.ReadUInt32(); WriteMaxBytes = reader.ReadUInt32(); WritePreferredBytes = reader.ReadUInt32(); WriteMultipleSize = reader.ReadUInt32(); DirectoryPreferredBytes = reader.ReadUInt32(); MaxFileSize = reader.ReadInt64(); TimePrecision = new Nfs3FileTime(reader); FileSystemProperties = (Nfs3FileSystemProperties)reader.ReadInt32(); }
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 Nfs3GetAttributesResult(XdrDataReader reader) { Status = (Nfs3Status)reader.ReadInt32(); Attributes = new Nfs3FileAttributes(reader); }
public Nfs3ModifyResult(XdrDataReader reader) { Status = (Nfs3Status)reader.ReadInt32(); CacheConsistency = new Nfs3WeakCacheConsistency(reader); }
public Nfs3RenameResult(XdrDataReader reader) { Status = (Nfs3Status)reader.ReadInt32(); FromDirCacheConsistency = new Nfs3WeakCacheConsistency(reader); ToDirCacheConsistency = new Nfs3WeakCacheConsistency(reader); }