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.SimpleChannelHandlerDetectorHandlerNettyImpl 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 voidchannelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event)voidchannelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event)voidexceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent event)AsyncClientConversation<Request,Response>getConversation()getConversationvoidmessageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent message)voidsetConversation(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:
channelOpenin 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:
channelClosedin 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:
exceptionCaughtin classorg.jboss.netty.channel.SimpleChannelHandler- Throws:
Exception
-
messageReceived
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent message)- Overrides:
messageReceivedin classorg.jboss.netty.channel.SimpleChannelHandler
-
setConversation
public void setConversation(AsyncClientConversation<Request,Response> conversation)
setConversation
- Parameters:
conversation- aAsyncClientConversationobject.
-
getConversation
public AsyncClientConversation<Request,Response> getConversation()
getConversation
- Returns:
- a
AsyncClientConversationobject.
-
-