org.apache.hadoop.mount
Class MountResponse

java.lang.Object
  extended by org.apache.hadoop.mount.MountResponse

public class MountResponse
extends Object

Helper class for sending MountResponse


Field Summary
static int MNT_OK
           
 
Method Summary
static XDR writeExportList(XDR xdr, int xid, List<String> exports)
          Response for RPC call MountInterface.MNTPROC_EXPORT
static XDR writeMNTResponse(int status, XDR xdr, int xid, byte[] handle)
          Response for RPC call MountInterface.MNTPROC_MNT
static XDR writeMountList(XDR xdr, int xid, List<MountEntry> mounts)
          Response for RPC call MountInterface.MNTPROC_DUMP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MNT_OK

public static final int MNT_OK
See Also:
Constant Field Values
Method Detail

writeMNTResponse

public static XDR writeMNTResponse(int status,
                                   XDR xdr,
                                   int xid,
                                   byte[] handle)
Response for RPC call MountInterface.MNTPROC_MNT


writeMountList

public static XDR writeMountList(XDR xdr,
                                 int xid,
                                 List<MountEntry> mounts)
Response for RPC call MountInterface.MNTPROC_DUMP


writeExportList

public static XDR writeExportList(XDR xdr,
                                  int xid,
                                  List<String> exports)
Response for RPC call MountInterface.MNTPROC_EXPORT



Copyright © 2009 The Apache Software Foundation