org.apache.hadoop.oncrpc
Class RpcUtil

java.lang.Object
  extended by org.apache.hadoop.oncrpc.RpcUtil

public final class RpcUtil
extends Object


Field Summary
static org.jboss.netty.channel.SimpleChannelUpstreamHandler STAGE_RPC_MESSAGE_PARSER
           
static org.jboss.netty.channel.SimpleChannelUpstreamHandler STAGE_RPC_TCP_RESPONSE
           
static org.jboss.netty.channel.SimpleChannelUpstreamHandler STAGE_RPC_UDP_RESPONSE
           
 
Constructor Summary
RpcUtil()
           
 
Method Summary
static org.jboss.netty.handler.codec.frame.FrameDecoder constructRpcFrameDecoder()
           
static int getNewXid(String caller)
           
static void sendRpcResponse(org.jboss.netty.channel.ChannelHandlerContext ctx, RpcResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STAGE_RPC_MESSAGE_PARSER

public static final org.jboss.netty.channel.SimpleChannelUpstreamHandler STAGE_RPC_MESSAGE_PARSER

STAGE_RPC_TCP_RESPONSE

public static final org.jboss.netty.channel.SimpleChannelUpstreamHandler STAGE_RPC_TCP_RESPONSE

STAGE_RPC_UDP_RESPONSE

public static final org.jboss.netty.channel.SimpleChannelUpstreamHandler STAGE_RPC_UDP_RESPONSE
Constructor Detail

RpcUtil

public RpcUtil()
Method Detail

getNewXid

public static int getNewXid(String caller)

sendRpcResponse

public static void sendRpcResponse(org.jboss.netty.channel.ChannelHandlerContext ctx,
                                   RpcResponse response)

constructRpcFrameDecoder

public static org.jboss.netty.handler.codec.frame.FrameDecoder constructRpcFrameDecoder()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.