@ChannelHandler.Sharable
public class DispatcherReply
extends org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler
| Constructor and Description |
|---|
DispatcherReply(org.jboss.netty.util.Timer timer,
int tcpIdleTimeoutMillis,
DispatcherRequest dispatcherRequest,
org.jboss.netty.channel.group.ChannelGroup channelGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Message message,
RequestHandlerTCP requestHandler) |
void |
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.timeout.IdleStateEvent 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) |
boolean |
isWaiting() |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
void |
shutdown(String message) |
handleUpstreambindRequested, channelBound, channelConnected, channelDisconnected, channelInterestChanged, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic DispatcherReply(org.jboss.netty.util.Timer timer,
int tcpIdleTimeoutMillis,
DispatcherRequest dispatcherRequest,
org.jboss.netty.channel.group.ChannelGroup channelGroup)
public void shutdown(String message)
public void add(Message message, RequestHandlerTCP requestHandler)
public void channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.timeout.IdleStateEvent e)
throws Exception
channelIdle in class org.jboss.netty.handler.timeout.IdleStateAwareChannelHandlerExceptionpublic void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws Exception
messageReceived in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws Exception
exceptionCaught in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelOpen in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelClosed in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic boolean isWaiting()
Copyright © 2011. All Rights Reserved.