Package org.apache.hadoop.oncrpc
Class RpcInfo
java.lang.Object
org.apache.hadoop.oncrpc.RpcInfo
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
ConstructorsConstructorDescriptionRpcInfo(RpcMessage header, io.netty.buffer.ByteBuf data, io.netty.channel.ChannelHandlerContext channelContext, io.netty.channel.Channel channel, SocketAddress remoteAddress) -
Method Summary
-
Constructor Details
-
RpcInfo
public RpcInfo(RpcMessage header, io.netty.buffer.ByteBuf data, io.netty.channel.ChannelHandlerContext channelContext, io.netty.channel.Channel channel, SocketAddress remoteAddress)
-
-
Method Details
-
header
-
data
public io.netty.buffer.ByteBuf data() -
channel
public io.netty.channel.Channel channel() -
remoteAddress
-