Class DetectorHandlerNettyImpl<Request,Response>
- java.lang.Object
-
- org.jboss.netty.channel.SimpleChannelHandler
-
- org.opennms.netmgt.provision.support.DetectorHandlerNettyImpl<Request,Response>
-
- All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler
,org.jboss.netty.channel.ChannelHandler
,org.jboss.netty.channel.ChannelUpstreamHandler
- Direct Known Subclasses:
TcpDetectorHandlerNettyImpl
public class DetectorHandlerNettyImpl<Request,Response> extends org.jboss.netty.channel.SimpleChannelHandler
DetectorHandlerNettyImpl 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 void
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event)
void
channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event)
void
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent event)
AsyncClientConversation<Request,Response>
getConversation()
getConversationvoid
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent message)
void
setConversation(AsyncClientConversation<Request,Response> conversation)
setConversation-
Methods inherited from class org.jboss.netty.channel.SimpleChannelHandler
bindRequested, channelBound, channelConnected, channelDisconnected, channelInterestChanged, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, handleUpstream, setInterestOpsRequested, unbindRequested, writeComplete, writeRequested
-
-
-
-
Method Detail
-
channelOpen
public void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event) throws Exception
- Overrides:
channelOpen
in classorg.jboss.netty.channel.SimpleChannelHandler
- Throws:
Exception
-
channelClosed
public void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event) throws Exception
- Overrides:
channelClosed
in classorg.jboss.netty.channel.SimpleChannelHandler
- Throws:
Exception
-
exceptionCaught
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent event) throws Exception
- Overrides:
exceptionCaught
in classorg.jboss.netty.channel.SimpleChannelHandler
- Throws:
Exception
-
messageReceived
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent message)
- Overrides:
messageReceived
in classorg.jboss.netty.channel.SimpleChannelHandler
-
setConversation
public void setConversation(AsyncClientConversation<Request,Response> conversation)
setConversation
- Parameters:
conversation
- aAsyncClientConversation
object.
-
getConversation
public AsyncClientConversation<Request,Response> getConversation()
getConversation
- Returns:
- a
AsyncClientConversation
object.
-
-