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, setTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeoutprotected 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)
AsyncServiceDetectordetect
detect in interface AsyncServiceDetectorrequest - a DetectRequest object.DetectFuture object.Copyright © 2022. All rights reserved.