public final class RpcPeerHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
| Modifier | Constructor and Description |
|---|---|
protected |
RpcPeerHandler(MethodSignatureResolver clientResolver,
RpcExecutionService executionService,
RpcClientFactory rcf) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
void |
runListener(org.jboss.netty.channel.ChannelHandlerContext ctx,
Object message) |
void |
setListener(RpcMessageListener listener) |
protected RpcPeerHandler(MethodSignatureResolver clientResolver, RpcExecutionService executionService, RpcClientFactory rcf)
public void setListener(RpcMessageListener listener)
public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
channelConnected in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerpublic void runListener(org.jboss.netty.channel.ChannelHandlerContext ctx,
Object message)
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
messageReceived in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerCopyright © 2013. All Rights Reserved.