Class Nfs3SetAttrRequest

All Implemented Interfaces:
NfsRequest

public class Nfs3SetAttrRequest extends NfsSetAttrRequest
The request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).

Procedure SETATTR changes one or more of the attributes of a file system object on the server.

  • Constructor Details

    • Nfs3SetAttrRequest

      public Nfs3SetAttrRequest(byte[] fileHandle, NfsSetAttributes attributes, NfsTime guardTime, Credential credential) throws FileNotFoundException
      Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).

      Procedure SETATTR changes one or more of the attributes of a file system object on the server.

      Parameters:
      fileHandle - The file handle for the object.
      attributes - The attributes to set.
      guardTime - If guardTime is not null, the server must compare the value of guardTime to the current ctime of the object. If the values are different, the server must preserve the object attributes and must return a status of NFS3ERR_NOT_SYNC.
      credential - The credential used for RPC authentication.
      Throws:
      FileNotFoundException