org.apache.hadoop.oncrpc
Class RpcInfo

java.lang.Object
  extended by 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)
           
 
Method Summary
 org.jboss.netty.channel.Channel channel()
           
 org.jboss.netty.buffer.ChannelBuffer data()
           
 RpcMessage header()
           
 SocketAddress remoteAddress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.