org.apache.hadoop.oncrpc
Class RpcInfo
java.lang.Object
org.apache.hadoop.oncrpc.RpcInfo
public final class RpcInfo
- extends Object
RpcInfo records all contextual information of an RPC message. It contains
the RPC header, the parameters, and the information of the remote peer.
|
Constructor Summary |
RpcInfo(RpcMessage header,
org.jboss.netty.buffer.ChannelBuffer data,
org.jboss.netty.channel.ChannelHandlerContext channelContext,
org.jboss.netty.channel.Channel channel,
SocketAddress remoteAddress)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpcInfo
public RpcInfo(RpcMessage header,
org.jboss.netty.buffer.ChannelBuffer data,
org.jboss.netty.channel.ChannelHandlerContext channelContext,
org.jboss.netty.channel.Channel channel,
SocketAddress remoteAddress)
header
public RpcMessage header()
data
public org.jboss.netty.buffer.ChannelBuffer data()
channel
public org.jboss.netty.channel.Channel channel()
remoteAddress
public SocketAddress remoteAddress()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.