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, toString
public static final int DEFAULT_UMASK
public static final FsPermission umask
public RpcProgramNfs3() throws IOException
IOException
public RpcProgramNfs3(Configuration config) throws IOException
IOException
public NFS3Response nullProcedure()
nullProcedure
in interface Nfs3Interface
public GETATTR3Response getattr(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
getattr
in interface Nfs3Interface
public SETATTR3Response setattr(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
setattr
in interface Nfs3Interface
public LOOKUP3Response lookup(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
lookup
in interface Nfs3Interface
public ACCESS3Response access(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
access
in interface Nfs3Interface
public READLINK3Response readlink(XDR xdr, SecurityHandler securityHandler, InetAddress client)
public READ3Response read(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
read
in interface Nfs3Interface
public WRITE3Response write(XDR xdr, org.jboss.netty.channel.Channel channel, int xid, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
write
in interface Nfs3Interface
public CREATE3Response create(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
create
in interface Nfs3Interface
public MKDIR3Response mkdir(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
mkdir
in interface Nfs3Interface
public READDIR3Response mknod(XDR xdr, SecurityHandler securityHandler, InetAddress client)
public REMOVE3Response remove(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
remove
in interface Nfs3Interface
public RMDIR3Response rmdir(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
rmdir
in interface Nfs3Interface
public RENAME3Response rename(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
rename
in interface Nfs3Interface
public SYMLINK3Response symlink(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
symlink
in interface Nfs3Interface
public READDIR3Response link(XDR xdr, SecurityHandler securityHandler, InetAddress client)
public READDIR3Response readdir(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
readdir
in interface Nfs3Interface
public READDIRPLUS3Response readdirplus(XDR xdr, SecurityHandler securityHandler, InetAddress client)
public FSSTAT3Response fsstat(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
fsstat
in interface Nfs3Interface
public FSINFO3Response fsinfo(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
fsinfo
in interface Nfs3Interface
public PATHCONF3Response pathconf(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
pathconf
in interface Nfs3Interface
public COMMIT3Response commit(XDR xdr, SecurityHandler securityHandler, InetAddress client)
Nfs3Interface
commit
in interface Nfs3Interface
public void handleInternal(org.jboss.netty.channel.ChannelHandlerContext ctx, RpcInfo info)
handleInternal
in class RpcProgram
protected boolean isIdempotent(RpcCall call)
isIdempotent
in class RpcProgram
Copyright © 2013 Apache Software Foundation. All rights reserved.