public class TcpHandler
extends org.jboss.netty.channel.SimpleChannelHandler
| Modifier and Type | Field and Description |
|---|---|
ExceptionReporter |
exceptionReporter |
IOException |
lastError |
WriteQueue |
queue |
| Constructor and Description |
|---|
TcpHandler(ExceptionReporter exceptionReporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext c,
org.jboss.netty.channel.ExceptionEvent e) |
void |
handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent e) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext c,
org.jboss.netty.channel.MessageEvent e) |
bindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleUpstream, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic final WriteQueue queue
public volatile IOException lastError
public final ExceptionReporter exceptionReporter
public TcpHandler(ExceptionReporter exceptionReporter)
public void handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent e)
throws Exception
handleDownstream in interface org.jboss.netty.channel.ChannelDownstreamHandlerhandleDownstream in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void messageReceived(org.jboss.netty.channel.ChannelHandlerContext c,
org.jboss.netty.channel.MessageEvent e)
messageReceived in class org.jboss.netty.channel.SimpleChannelHandlerpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext c,
org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught in class org.jboss.netty.channel.SimpleChannelHandlerCopyright © 2015. All rights reserved.