org.apache.hadoop.oncrpc
Class RpcResponse
java.lang.Object
org.apache.hadoop.oncrpc.RpcResponse
public class RpcResponse
- extends Object
RpcResponse encapsulates a response to a RPC request. It contains the data
that is going to cross the wire, as well as the information of the remote
peer.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpcResponse
public RpcResponse(org.jboss.netty.buffer.ChannelBuffer data,
SocketAddress remoteAddress)
data
public org.jboss.netty.buffer.ChannelBuffer data()
remoteAddress
public SocketAddress remoteAddress()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.