Class SyncAbstractDetector
- java.lang.Object
-
- org.opennms.netmgt.provision.support.AbstractDetector
-
- org.opennms.netmgt.provision.support.SyncAbstractDetector
-
- All Implemented Interfaces:
ServiceDetector
,SyncServiceDetector
- Direct Known Subclasses:
BasicDetector
,IcmpDetector
,JMXDetector
,ReverseDNSLookupDetector
,WsManDetector
,WsManWQLDetector
public abstract class SyncAbstractDetector extends AbstractDetector implements SyncServiceDetector
SyncAbstractDetector class.
- Author:
- ranger
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SyncAbstractDetector(java.lang.String serviceName, int port)
Constructor for SyncAbstractDetector.protected
SyncAbstractDetector(java.lang.String serviceName, int port, int timeout, int retries)
Constructor for SyncAbstractDetector.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DetectResults
detect(DetectRequest request)
detectabstract boolean
isServiceDetected(java.net.InetAddress address)
isServiceDetected-
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
-
-
-
-
Constructor Detail
-
SyncAbstractDetector
protected SyncAbstractDetector(java.lang.String serviceName, int port, int timeout, int retries)
Constructor for SyncAbstractDetector.
- Parameters:
serviceName
- aString
object.port
- a int.timeout
- a int.retries
- a int.
-
SyncAbstractDetector
protected SyncAbstractDetector(java.lang.String serviceName, int port)
Constructor for SyncAbstractDetector.
- Parameters:
serviceName
- aString
object.port
- a int.
-
-
Method Detail
-
isServiceDetected
public abstract boolean isServiceDetected(java.net.InetAddress address)
isServiceDetected
- Parameters:
address
- aInetAddress
object.- Returns:
- a boolean.
-
detect
public DetectResults detect(DetectRequest request)
Description copied from interface:SyncServiceDetector
detect
- Specified by:
detect
in interfaceSyncServiceDetector
- Parameters:
request
- aDetectRequest
object.- Returns:
-
-