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 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

      public RpcMessage header()
    • data

      public io.netty.buffer.ByteBuf data()
    • channel

      public io.netty.channel.Channel channel()
    • remoteAddress

      public SocketAddress remoteAddress()