Class AsyncAbstractDetector
- java.lang.Object
-
- org.opennms.netmgt.provision.support.AbstractDetector
-
- org.opennms.netmgt.provision.support.AsyncAbstractDetector
-
- All Implemented Interfaces:
AsyncServiceDetector
,ServiceDetector
- Direct Known Subclasses:
AsyncBasicDetector
public abstract class AsyncAbstractDetector extends AbstractDetector implements AsyncServiceDetector
AsyncAbstractDetector class.
- Author:
- thedesloge
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AsyncAbstractDetector(String serviceName, int port)
Constructor for AsyncAbstractDetector.protected
AsyncAbstractDetector(String serviceName, int port, int timeout, int retries)
Constructor for AsyncAbstractDetector.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DetectFuture
detect(DetectRequest request)
detectabstract DetectFuture
isServiceDetected(InetAddress address)
-
Methods inherited from class org.opennms.netmgt.provision.support.AbstractDetector
dispose, 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
dispose, getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
-
-
-
-
Method Detail
-
isServiceDetected
public abstract DetectFuture isServiceDetected(InetAddress address)
-
detect
public DetectFuture detect(DetectRequest request)
Description copied from interface:AsyncServiceDetector
detect
- Specified by:
detect
in interfaceAsyncServiceDetector
- Parameters:
request
- aDetectRequest
object.- Returns:
- a
DetectFuture
object.
-
-