public abstract class AsyncAbstractDetector extends AbstractDetector implements AsyncServiceDetector
AsyncAbstractDetector class.
Modifier | Constructor and Description |
---|---|
protected |
AsyncAbstractDetector(String serviceName,
int port)
Constructor for AsyncAbstractDetector.
|
protected |
AsyncAbstractDetector(String serviceName,
int port,
int timeout,
int retries)
Constructor for AsyncAbstractDetector.
|
Modifier and Type | Method and Description |
---|---|
DetectFuture |
detect(DetectRequest request)
detect
|
abstract DetectFuture |
isServiceDetected(InetAddress address) |
dispose, getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, onInit, setIpMatch, setPort, setRetries, setServiceName, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
protected AsyncAbstractDetector(String serviceName, int port, int timeout, int retries)
Constructor for AsyncAbstractDetector.
serviceName
- a String
object.port
- a int.timeout
- a int.retries
- a int.public abstract DetectFuture isServiceDetected(InetAddress address)
public DetectFuture detect(DetectRequest request)
AsyncServiceDetector
detect
detect
in interface AsyncServiceDetector
request
- a DetectRequest
object.DetectFuture
object.Copyright © 2021. All rights reserved.