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, toString
public 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
IOException
public RpcProgramMountd(List<String> exports) throws IOException
IOException
public RpcProgramMountd(List<String> exports, Configuration config) throws IOException
IOException
public XDR nullOp(XDR out, int xid, InetAddress client)
MountInterface
nullOp
in interface MountInterface
public XDR mnt(XDR xdr, XDR out, int xid, InetAddress client)
MountInterface
mnt
in interface MountInterface
public XDR dump(XDR out, int xid, InetAddress client)
MountInterface
dump
in interface MountInterface
public XDR umnt(XDR xdr, XDR out, int xid, InetAddress client)
MountInterface
umnt
in interface MountInterface
public XDR umntall(XDR out, int xid, InetAddress client)
MountInterface
umntall
in interface MountInterface
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.