org.apache.hadoop.portmap
Class PortmapResponse

java.lang.Object
  extended by org.apache.hadoop.portmap.PortmapResponse

public class PortmapResponse
extends Object

Helper utility for sending portmap response.


Constructor Summary
PortmapResponse()
           
 
Method Summary
static XDR booleanReply(XDR xdr, int xid, boolean value)
           
static XDR intReply(XDR xdr, int xid, int value)
           
static XDR pmapList(XDR xdr, int xid, Collection<PortmapMapping> list)
           
static XDR pmapList(XDR xdr, int xid, PortmapMapping[] list)
           
static XDR voidReply(XDR xdr, int xid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortmapResponse

public PortmapResponse()
Method Detail

voidReply

public static XDR voidReply(XDR xdr,
                            int xid)

intReply

public static XDR intReply(XDR xdr,
                           int xid,
                           int value)

booleanReply

public static XDR booleanReply(XDR xdr,
                               int xid,
                               boolean value)

pmapList

public static XDR pmapList(XDR xdr,
                           int xid,
                           Collection<PortmapMapping> list)

pmapList

public static XDR pmapList(XDR xdr,
                           int xid,
                           PortmapMapping[] list)


Copyright © 2009 The Apache Software Foundation