org.apache.hadoop.oncrpc
Class RpcUtil
java.lang.Object
org.apache.hadoop.oncrpc.RpcUtil
public final class RpcUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
RpcUtil
public RpcUtil()
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.