org.apache.hadoop.oncrpc
Class RpcAcceptedReply

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

public class RpcAcceptedReply
extends RpcReply

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


Nested Class Summary
static class RpcAcceptedReply.AcceptState
           
 
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
 RpcAcceptedReply.AcceptState getAcceptState()
           
 RpcAuthInfo getVerifier()
           
static RpcAcceptedReply read(int xid, int messageType, RpcReply.ReplyState replyState, XDR xdr)
           
static XDR voidReply(XDR xdr, int xid)
           
static XDR voidReply(XDR xdr, int xid, RpcAcceptedReply.AcceptState acceptState)
           
 
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, toString, wait, wait, wait
 

Method Detail

read

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

getVerifier

public RpcAuthInfo getVerifier()

getAcceptState

public RpcAcceptedReply.AcceptState getAcceptState()

voidReply

public static XDR voidReply(XDR xdr,
                            int xid)

voidReply

public static XDR voidReply(XDR xdr,
                            int xid,
                            RpcAcceptedReply.AcceptState acceptState)


Copyright © 2009 The Apache Software Foundation