org.apache.hadoop.oncrpc
Class RpcDeniedReply

java.lang.Object
  extended by org.apache.hadoop.oncrpc.RpcMessage
      extended by org.apache.hadoop.oncrpc.RpcReply
          extended by org.apache.hadoop.oncrpc.RpcDeniedReply

public class RpcDeniedReply
extends RpcReply

Represents RPC message MSG_DENIED reply body. See RFC 1831 for details. This response is sent to a request to indicate failure of the request.


Nested Class Summary
static class RpcDeniedReply.RejectState
           
 
Nested classes/interfaces inherited from class org.apache.hadoop.oncrpc.RpcReply
RpcReply.ReplyState
 
Field Summary
 
Fields inherited from class org.apache.hadoop.oncrpc.RpcMessage
messageType, RPC_CALL, RPC_REPLY, xid
 
Method Summary
 RpcDeniedReply.RejectState getRejectState()
           
static RpcDeniedReply read(int xid, int messageType, RpcReply.ReplyState replyState, XDR xdr)
           
 String toString()
           
static XDR voidReply(XDR xdr, int xid, RpcReply.ReplyState msgAccepted, RpcDeniedReply.RejectState rejectState)
           
 
Methods inherited from class org.apache.hadoop.oncrpc.RpcReply
getState, read
 
Methods inherited from class org.apache.hadoop.oncrpc.RpcMessage
getMessageType, getXid, validateMessageType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

read

public static RpcDeniedReply read(int xid,
                                  int messageType,
                                  RpcReply.ReplyState replyState,
                                  XDR xdr)

getRejectState

public RpcDeniedReply.RejectState getRejectState()

toString

public String toString()
Overrides:
toString in class Object

voidReply

public static XDR voidReply(XDR xdr,
                            int xid,
                            RpcReply.ReplyState msgAccepted,
                            RpcDeniedReply.RejectState rejectState)


Copyright © 2009 The Apache Software Foundation