public final class RpcUtil extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
RpcUtil() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final org.jboss.netty.channel.SimpleChannelUpstreamHandler STAGE_RPC_MESSAGE_PARSER
public static final org.jboss.netty.channel.SimpleChannelUpstreamHandler STAGE_RPC_TCP_RESPONSE
public static final org.jboss.netty.channel.SimpleChannelUpstreamHandler STAGE_RPC_UDP_RESPONSE
public static int getNewXid(String caller)
public static void sendRpcResponse(org.jboss.netty.channel.ChannelHandlerContext ctx, RpcResponse response)
public static org.jboss.netty.handler.codec.frame.FrameDecoder constructRpcFrameDecoder()
Copyright © 2013 Apache Software Foundation. All rights reserved.