Class AsyncBasicDetectorNettyImpl<Request,Response>
- java.lang.Object
-
- org.opennms.netmgt.provision.support.AbstractDetector
-
- org.opennms.netmgt.provision.support.AsyncAbstractDetector
-
- org.opennms.netmgt.provision.support.AsyncBasicDetector<Request,Response>
-
- org.opennms.netmgt.provision.support.AsyncBasicDetectorNettyImpl<Request,Response>
-
- All Implemented Interfaces:
AsyncServiceDetector
,ServiceDetector
- Direct Known Subclasses:
AsyncLineOrientedDetectorNettyImpl
,AsyncMultilineDetectorNettyImpl
public abstract class AsyncBasicDetectorNettyImpl<Request,Response> extends AsyncBasicDetector<Request,Response>
AsyncBasicDetectorNettyImpl class.
CAUTION: This class is unused. This implementation has never been in production.- Author:
- Seth
-
-
Constructor Summary
Constructors Constructor Description AsyncBasicDetectorNettyImpl(java.lang.String serviceName, int port)
Constructor for AsyncBasicDetector.AsyncBasicDetectorNettyImpl(java.lang.String serviceName, int port, int timeout, int retries)
Constructor for AsyncBasicDetector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendToPipeline(org.jboss.netty.channel.ChannelPipeline retval)
void
dispose()
disposeprotected DetectorHandlerNettyImpl<Request,Response>
getDetectorHandler(AsyncClientConversation<Request,Response> conversation)
DetectFuture
isServiceDetected(java.net.InetAddress address)
-
Methods inherited from class org.opennms.netmgt.provision.support.AsyncBasicDetector
expectBanner, find, getConversation, getIdleTime, isUseSSLFilter, send, setIdleTime, setUseSSLFilter, startsWith
-
Methods inherited from class org.opennms.netmgt.provision.support.AsyncAbstractDetector
detect
-
Methods inherited from class org.opennms.netmgt.provision.support.AbstractDetector
getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, onInit, setIpMatch, setPort, setRetries, setServiceName, setTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.provision.ServiceDetector
getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
-
-
-
-
Constructor Detail
-
AsyncBasicDetectorNettyImpl
public AsyncBasicDetectorNettyImpl(java.lang.String serviceName, int port)
Constructor for AsyncBasicDetector.
- Type Parameters:
Request
- a Request object.Response
- a Response object.- Parameters:
serviceName
- aString
object.port
- a int.
-
AsyncBasicDetectorNettyImpl
public AsyncBasicDetectorNettyImpl(java.lang.String serviceName, int port, int timeout, int retries)
Constructor for AsyncBasicDetector.
- Parameters:
serviceName
- aString
object.port
- a int.timeout
- a int.retries
- a int.
-
-
Method Detail
-
dispose
public void dispose()
dispose
- Specified by:
dispose
in interfaceServiceDetector
- Specified by:
dispose
in classAbstractDetector
-
isServiceDetected
public final DetectFuture isServiceDetected(java.net.InetAddress address)
- Specified by:
isServiceDetected
in classAsyncAbstractDetector
-
appendToPipeline
protected void appendToPipeline(org.jboss.netty.channel.ChannelPipeline retval)
-
getDetectorHandler
protected DetectorHandlerNettyImpl<Request,Response> getDetectorHandler(AsyncClientConversation<Request,Response> conversation)
-
-