public class RpcProgramMountd extends RpcProgram implements MountInterface
Mountd.MountInterface.MNTPROC| Modifier and Type | Field and Description |
|---|---|
static int |
PORT |
static int |
PROGRAM |
static int |
VERSION_1 |
static int |
VERSION_2 |
static int |
VERSION_3 |
RPCB_PORT| Constructor and Description |
|---|
RpcProgramMountd() |
RpcProgramMountd(List<String> exports) |
RpcProgramMountd(List<String> exports,
Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
XDR |
dump(XDR out,
int xid,
InetAddress client)
MNTPROC_DUMP - Return mount entries
|
void |
handleInternal(org.jboss.netty.channel.ChannelHandlerContext ctx,
RpcInfo info) |
protected boolean |
isIdempotent(RpcCall call) |
XDR |
mnt(XDR xdr,
XDR out,
int xid,
InetAddress client)
MNTPROC_MNT - Add mount entry
|
XDR |
nullOp(XDR out,
int xid,
InetAddress client)
MNTPROC_NULL - Do Nothing
|
XDR |
umnt(XDR xdr,
XDR out,
int xid,
InetAddress client)
MNTPROC_UMNT - Remove mount entry
|
XDR |
umntall(XDR out,
int xid,
InetAddress client)
MNTPROC_UMNTALL - Remove all mount entries
|
getPort, messageReceived, register, register, toStringpublic static final int PROGRAM
public static final int VERSION_1
public static final int VERSION_2
public static final int VERSION_3
public static final int PORT
public RpcProgramMountd()
throws IOException
IOExceptionpublic RpcProgramMountd(List<String> exports) throws IOException
IOExceptionpublic RpcProgramMountd(List<String> exports, Configuration config) throws IOException
IOExceptionpublic XDR nullOp(XDR out, int xid, InetAddress client)
MountInterfacenullOp in interface MountInterfacepublic XDR mnt(XDR xdr, XDR out, int xid, InetAddress client)
MountInterfacemnt in interface MountInterfacepublic XDR dump(XDR out, int xid, InetAddress client)
MountInterfacedump in interface MountInterfacepublic XDR umnt(XDR xdr, XDR out, int xid, InetAddress client)
MountInterfaceumnt in interface MountInterfacepublic XDR umntall(XDR out, int xid, InetAddress client)
MountInterfaceumntall in interface MountInterfacepublic 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.