org.codehaus.gpars

groovyx.gpars.remote.netty
[Java] Class NettyHandler

java.lang.Object
  org.jboss.netty.channel.SimpleChannelHandler
      groovyx.gpars.remote.netty.NettyHandler

@ChannelPipelineCoverage("one")
public class NettyHandler
extends org.jboss.netty.channel.SimpleChannelHandler

Authors:
Alex Tkachman


Field Summary
private org.jboss.netty.channel.Channel channel

private RemoteConnection connection

 
Constructor Summary
NettyHandler(NettyTransportProvider provider)

 
Method Summary
void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)

void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)

void channelOpen(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)

org.jboss.netty.channel.Channel getChannel()

void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)

 
Methods inherited from class org.jboss.netty.channel.SimpleChannelHandler
org.jboss.netty.channel.SimpleChannelHandler#closeRequested(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#messageReceived(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.MessageEvent), org.jboss.netty.channel.SimpleChannelHandler#channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#channelClosed(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ExceptionEvent), org.jboss.netty.channel.SimpleChannelHandler#handleUpstream(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelEvent), org.jboss.netty.channel.SimpleChannelHandler#channelOpen(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#channelBound(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#channelConnected(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#channelInterestChanged(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#channelUnbound(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#writeComplete(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.WriteCompletionEvent), org.jboss.netty.channel.SimpleChannelHandler#childChannelOpen(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChildChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#childChannelClosed(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChildChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#handleDownstream(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelEvent), org.jboss.netty.channel.SimpleChannelHandler#writeRequested(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.MessageEvent), org.jboss.netty.channel.SimpleChannelHandler#bindRequested(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#connectRequested(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#setInterestOpsRequested(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#disconnectRequested(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#unbindRequested(org.jboss.netty.channel.ChannelHandlerContext, org.jboss.netty.channel.ChannelStateEvent), org.jboss.netty.channel.SimpleChannelHandler#wait(long), org.jboss.netty.channel.SimpleChannelHandler#wait(), org.jboss.netty.channel.SimpleChannelHandler#wait(long, int), org.jboss.netty.channel.SimpleChannelHandler#equals(java.lang.Object), org.jboss.netty.channel.SimpleChannelHandler#toString(), org.jboss.netty.channel.SimpleChannelHandler#hashCode(), org.jboss.netty.channel.SimpleChannelHandler#getClass(), org.jboss.netty.channel.SimpleChannelHandler#notify(), org.jboss.netty.channel.SimpleChannelHandler#notifyAll()
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

channel

private org.jboss.netty.channel.Channel channel


connection

private final RemoteConnection connection


 
Constructor Detail

NettyHandler

public NettyHandler(NettyTransportProvider provider)


 
Method Detail

channelConnected

@Override
public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)


channelDisconnected

@Override
public void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)


channelOpen

@Override
public void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)


exceptionCaught

@Override
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)


getChannel

public org.jboss.netty.channel.Channel getChannel()


messageReceived

@Override
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)


 

Copyright © 2008–2010 Václav Pech. All Rights Reserved.