public class ClientIOHandler
extends org.jboss.netty.channel.SimpleChannelHandler
| Constructor and Description |
|---|
ClientIOHandler(org.jboss.netty.bootstrap.ClientBootstrap bootstrap)
The only constructor.
|
| 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 |
channelDisconnected(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) |
java.net.InetSocketAddress |
getRemoteAddress()
Convenience getter method.
|
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
bindRequested, channelBound, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, handleUpstream, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic ClientIOHandler(org.jboss.netty.bootstrap.ClientBootstrap bootstrap)
bootstrap - A Netty helper instance.public java.net.InetSocketAddress getRemoteAddress()
public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws java.lang.Exception
channelConnected in class org.jboss.netty.channel.SimpleChannelHandlerjava.lang.Exceptionpublic void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws java.lang.Exception
channelDisconnected in class org.jboss.netty.channel.SimpleChannelHandlerjava.lang.Exceptionpublic void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws java.lang.Exception
channelClosed in class org.jboss.netty.channel.SimpleChannelHandlerjava.lang.Exceptionpublic void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws java.lang.Exception
messageReceived in class org.jboss.netty.channel.SimpleChannelHandlerjava.lang.Exceptionpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws java.lang.Exception
exceptionCaught in class org.jboss.netty.channel.SimpleChannelHandlerjava.lang.Exception