it.jnrpe.net
Class JNRPEServerHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
it.jnrpe.net.JNRPEServerHandler
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
public class JNRPEServerHandler
- extends io.netty.channel.ChannelInboundHandlerAdapter
Receives and handles connections to the JNRPE server.
- Author:
- Massimiliano Ziccardi
| Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler |
io.netty.channel.ChannelHandler.Sharable |
| Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered |
| Methods inherited from class io.netty.channel.ChannelHandlerAdapter |
handlerAdded, handlerRemoved, isSharable |
| Methods inherited from interface io.netty.channel.ChannelHandler |
handlerAdded, handlerRemoved |
JNRPEServerHandler
public JNRPEServerHandler(CommandInvoker invoker,
Collection<IJNRPEEventListener> eventListeners)
- Constructor.
- Parameters:
invoker - the command invokereventListeners - The list of listeners
channelRead
public final void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
- Specified by:
channelRead in interface io.netty.channel.ChannelInboundHandler- Overrides:
channelRead in class io.netty.channel.ChannelInboundHandlerAdapter
exceptionCaught
public final void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
- Specified by:
exceptionCaught in interface io.netty.channel.ChannelHandler- Specified by:
exceptionCaught in interface io.netty.channel.ChannelInboundHandler- Overrides:
exceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapter
Copyright © 2014. All Rights Reserved.