|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.handler.timeout.IdleStateAwareChannelUpstreamHandler
public class IdleStateAwareChannelUpstreamHandler
An extended SimpleChannelUpstreamHandler
that adds the handler method
for an IdleStateEvent
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
---|
ChannelHandler.Sharable |
Constructor Summary | |
---|---|
IdleStateAwareChannelUpstreamHandler()
Creates a new instance. |
Method Summary | |
---|---|
void |
channelIdle(ChannelHandlerContext ctx,
IdleStateEvent e)
Invoked when a Channel has been idle for a while. |
void |
handleUpstream(ChannelHandlerContext ctx,
ChannelEvent e)
Handles the specified upstream event. |
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
---|
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, exceptionCaught, messageReceived, writeComplete |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdleStateAwareChannelUpstreamHandler()
Method Detail |
---|
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) throws java.lang.Exception
SimpleChannelUpstreamHandler
handleUpstream
in interface ChannelUpstreamHandler
handleUpstream
in class SimpleChannelUpstreamHandler
ctx
- the context object for this handlere
- the upstream event to process or intercept
java.lang.Exception
public void channelIdle(ChannelHandlerContext ctx, IdleStateEvent e) throws java.lang.Exception
Channel
has been idle for a while.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |