public class RpcProgramMountd extends RpcProgram implements MountInterface
Mountd.MountInterface.MNTPROC| Modifier and Type | Field and Description |
|---|---|
static int |
PROGRAM |
static int |
VERSION_1 |
static int |
VERSION_2 |
static int |
VERSION_3 |
allowInsecurePorts, RPCB_PORT| Constructor and Description |
|---|
RpcProgramMountd(NfsConfiguration config,
DatagramSocket registrationSocket,
boolean allowInsecurePorts) |
| Modifier and Type | Method and Description |
|---|---|
XDR |
dump(XDR out,
int xid,
InetAddress client) |
List<String> |
getExports() |
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) |
XDR |
nullOp(XDR out,
int xid,
InetAddress client) |
XDR |
umnt(XDR xdr,
XDR out,
int xid,
InetAddress client) |
XDR |
umntall(XDR out,
int xid,
InetAddress client) |
doPortMonitoring, getPort, messageReceived, register, register, sendRejectedReply, startDaemons, stopDaemons, toString, unregisterpublic static final int PROGRAM
public static final int VERSION_1
public static final int VERSION_2
public static final int VERSION_3
public RpcProgramMountd(NfsConfiguration config, DatagramSocket registrationSocket, boolean allowInsecurePorts) throws IOException
IOExceptionpublic XDR nullOp(XDR out, int xid, InetAddress client)
nullOp in interface MountInterfacepublic XDR mnt(XDR xdr, XDR out, int xid, InetAddress client)
mnt in interface MountInterfacepublic XDR dump(XDR out, int xid, InetAddress client)
dump in interface MountInterfacepublic XDR umnt(XDR xdr, XDR out, int xid, InetAddress client)
umnt in interface MountInterfacepublic XDR umntall(XDR out, int xid, InetAddress client)
umntall 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 © 2018 CERN. All Rights Reserved.