|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.netty.channel.SimpleChannelHandler groovyx.gpars.remote.netty.NettyHandler
public class NettyHandler extends SimpleChannelHandler
Field Summary | |
---|---|
private Channel |
channel
|
private RemoteConnection |
connection
|
Constructor Summary | |
NettyHandler(NettyTransportProvider provider)
|
Method Summary | |
---|---|
void
|
channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)
|
void
|
channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)
|
void
|
channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)
|
void
|
exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)
|
Channel
|
getChannel()
|
void
|
messageReceived(ChannelHandlerContext ctx, MessageEvent e)
|
Field Detail |
---|
private Channel channel
private final RemoteConnection connection
Constructor Detail |
---|
public NettyHandler(NettyTransportProvider provider)
Method Detail |
---|
@java.lang.Override public void channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)
@java.lang.Overridee.getCause().printStackTrace(); public void channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)
@java.lang.Override} public void channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)
@java.lang.Override public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)
public Channel getChannel()
@java.lang.Override} } public void messageReceived(ChannelHandlerContext ctx, MessageEvent e)
Copyright © 2008–2013 Václav Pech. All Rights Reserved.