it.jnrpe.net
Class JNRPEIdleStateHandler

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.channel.ChannelDuplexHandler
              extended by it.jnrpe.net.JNRPEIdleStateHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

public final class JNRPEIdleStateHandler
extends io.netty.channel.ChannelDuplexHandler

Idle timeout handler.

Author:
Massimiliano Ziccardi

Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
JNRPEIdleStateHandler(JNRPEExecutionContext ctx)
          The constructor.
 
Method Summary
 void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, Object evt)
           
 
Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read, write
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerAdded, handlerRemoved, isSharable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface io.netty.channel.ChannelHandler
exceptionCaught, handlerAdded, handlerRemoved
 

Constructor Detail

JNRPEIdleStateHandler

public JNRPEIdleStateHandler(JNRPEExecutionContext ctx)
The constructor.

Parameters:
ctx - The JNRPE execution context.
Method Detail

userEventTriggered

public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
                               Object evt)
                        throws Exception
Specified by:
userEventTriggered in interface io.netty.channel.ChannelInboundHandler
Overrides:
userEventTriggered in class io.netty.channel.ChannelInboundHandlerAdapter
Throws:
Exception


Copyright © 2014. All Rights Reserved.