org.apache.hadoop.nfs.nfs3.response
Class NFS3Response

java.lang.Object
  extended by org.apache.hadoop.nfs.nfs3.response.NFS3Response
Direct Known Subclasses:
ACCESS3Response, COMMIT3Response, CREATE3Response, FSINFO3Response, FSSTAT3Response, GETATTR3Response, LINK3Response, LOOKUP3Response, MKDIR3Response, MKNOD3Response, PATHCONF3Response, READ3Response, READDIR3Response, READDIRPLUS3Response, READLINK3Response, REMOVE3Response, RENAME3Response, RMDIR3Response, SETATTR3Response, SYMLINK3Response, WRITE3Response

public class NFS3Response
extends Object

Base class for a NFSv3 response. This class and its subclasses contain the response from NFSv3 handlers.


Field Summary
protected  int status
           
 
Constructor Summary
NFS3Response(int status)
           
 
Method Summary
 int getStatus()
           
 XDR serialize(XDR out, int xid, Verifier verifier)
          Write the response, along with the rpc header (including verifier), to the XDR.
 void setStatus(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

status

protected int status
Constructor Detail

NFS3Response

public NFS3Response(int status)
Method Detail

getStatus

public int getStatus()

setStatus

public void setStatus(int status)

serialize

public XDR serialize(XDR out,
                     int xid,
                     Verifier verifier)
Write the response, along with the rpc header (including verifier), to the XDR.



Copyright © 2014 Apache Software Foundation. All Rights Reserved.