public class RpcProgramNfs3 extends RpcProgram implements Nfs3Interface
Nfs3.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_UMASK |
static FsPermission |
umask |
RPCB_PORT| Constructor and Description |
|---|
RpcProgramNfs3() |
RpcProgramNfs3(Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
ACCESS3Response |
access(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
ACCESS: Check access permission
|
COMMIT3Response |
commit(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
COMMIT: Commit cached data on a server to stable storage
|
CREATE3Response |
create(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
CREATE: Create a file
|
FSINFO3Response |
fsinfo(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
FSINFO: Get static file system information
|
FSSTAT3Response |
fsstat(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
FSSTAT: Get dynamic file system information
|
GETATTR3Response |
getattr(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
GETATTR: Get file attributes
|
void |
handleInternal(org.jboss.netty.channel.ChannelHandlerContext ctx,
RpcInfo info) |
protected boolean |
isIdempotent(RpcCall call) |
READDIR3Response |
link(XDR xdr,
SecurityHandler securityHandler,
InetAddress client) |
LOOKUP3Response |
lookup(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
LOOKUP: Lookup filename
|
MKDIR3Response |
mkdir(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
MKDIR: Create a directory
|
READDIR3Response |
mknod(XDR xdr,
SecurityHandler securityHandler,
InetAddress client) |
NFS3Response |
nullProcedure()
RPC call handlers
|
PATHCONF3Response |
pathconf(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
PATHCONF: Retrieve POSIX information
|
READ3Response |
read(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
READ: Read from file
|
READDIR3Response |
readdir(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
READDIR: Read From directory
|
READDIRPLUS3Response |
readdirplus(XDR xdr,
SecurityHandler securityHandler,
InetAddress client) |
READLINK3Response |
readlink(XDR xdr,
SecurityHandler securityHandler,
InetAddress client) |
REMOVE3Response |
remove(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
REMOVE: Remove a file
|
RENAME3Response |
rename(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
RENAME: Rename a file or directory
|
RMDIR3Response |
rmdir(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
RMDIR: Remove a directory
|
SETATTR3Response |
setattr(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
SETATTR: Set file attributes
|
SYMLINK3Response |
symlink(XDR xdr,
SecurityHandler securityHandler,
InetAddress client)
SYMLINK: Create a symbolic link
|
WRITE3Response |
write(XDR xdr,
org.jboss.netty.channel.Channel channel,
int xid,
SecurityHandler securityHandler,
InetAddress client)
WRITE: Write to file
|
getPort, messageReceived, register, register, toStringpublic static final int DEFAULT_UMASK
public static final FsPermission umask
public RpcProgramNfs3()
throws IOException
IOExceptionpublic RpcProgramNfs3(Configuration config) throws IOException
IOExceptionpublic NFS3Response nullProcedure()
nullProcedure in interface Nfs3Interfacepublic GETATTR3Response getattr(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacegetattr in interface Nfs3Interfacepublic SETATTR3Response setattr(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacesetattr in interface Nfs3Interfacepublic LOOKUP3Response lookup(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacelookup in interface Nfs3Interfacepublic ACCESS3Response access(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfaceaccess in interface Nfs3Interfacepublic READLINK3Response readlink(XDR xdr, SecurityHandler securityHandler, InetAddress client)
public READ3Response read(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfaceread in interface Nfs3Interfacepublic WRITE3Response write(XDR xdr, org.jboss.netty.channel.Channel channel, int xid, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacewrite in interface Nfs3Interfacepublic CREATE3Response create(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacecreate in interface Nfs3Interfacepublic MKDIR3Response mkdir(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacemkdir in interface Nfs3Interfacepublic READDIR3Response mknod(XDR xdr, SecurityHandler securityHandler, InetAddress client)
public REMOVE3Response remove(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfaceremove in interface Nfs3Interfacepublic RMDIR3Response rmdir(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacermdir in interface Nfs3Interfacepublic RENAME3Response rename(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacerename in interface Nfs3Interfacepublic SYMLINK3Response symlink(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacesymlink in interface Nfs3Interfacepublic READDIR3Response link(XDR xdr, SecurityHandler securityHandler, InetAddress client)
public READDIR3Response readdir(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacereaddir in interface Nfs3Interfacepublic READDIRPLUS3Response readdirplus(XDR xdr, SecurityHandler securityHandler, InetAddress client)
public FSSTAT3Response fsstat(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacefsstat in interface Nfs3Interfacepublic FSINFO3Response fsinfo(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacefsinfo in interface Nfs3Interfacepublic PATHCONF3Response pathconf(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacepathconf in interface Nfs3Interfacepublic COMMIT3Response commit(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interfacecommit in interface Nfs3Interfacepublic void handleInternal(org.jboss.netty.channel.ChannelHandlerContext ctx,
RpcInfo info)
handleInternal in class RpcProgramprotected boolean isIdempotent(RpcCall call)
isIdempotent in class RpcProgramCopyright © 2013 Apache Software Foundation. All rights reserved.