Class DetectorHandlerNettyImpl<Request,Response>
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- org.opennms.netmgt.provision.support.DetectorHandlerNettyImpl<Request,Response>
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
- Direct Known Subclasses:
TcpDetectorHandlerNettyImpl
public class DetectorHandlerNettyImpl<Request,Response> extends io.netty.channel.ChannelInboundHandlerAdapterDetectorHandlerNettyImpl class.
CAUTION: This class is unused. This implementation has never been in production.- Author:
- Seth
-
-
Constructor Summary
Constructors Constructor Description DetectorHandlerNettyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelActive(io.netty.channel.ChannelHandlerContext ctx)voidchannelInactive(io.netty.channel.ChannelHandlerContext ctx)voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object message)voidexceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)AsyncClientConversation<Request,Response>getConversation()getConversationvoidsetConversation(AsyncClientConversation<Request,Response> conversation)setConversation-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Method Detail
-
channelActive
public void channelActive(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
channelActivein interfaceio.netty.channel.ChannelInboundHandler- Overrides:
channelActivein classio.netty.channel.ChannelInboundHandlerAdapter- Throws:
Exception
-
channelInactive
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
channelInactivein interfaceio.netty.channel.ChannelInboundHandler- Overrides:
channelInactivein classio.netty.channel.ChannelInboundHandlerAdapter- Throws:
Exception
-
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception- Specified by:
exceptionCaughtin interfaceio.netty.channel.ChannelHandler- Specified by:
exceptionCaughtin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
exceptionCaughtin classio.netty.channel.ChannelInboundHandlerAdapter- Throws:
Exception
-
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object message)- Specified by:
channelReadin interfaceio.netty.channel.ChannelInboundHandler- Overrides:
channelReadin classio.netty.channel.ChannelInboundHandlerAdapter
-
setConversation
public void setConversation(AsyncClientConversation<Request,Response> conversation)
setConversation
- Parameters:
conversation- aAsyncClientConversationobject.
-
getConversation
public AsyncClientConversation<Request,Response> getConversation()
getConversation
- Returns:
- a
AsyncClientConversationobject.
-
-