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 |
---|---|
abstract DetectFuture |
isServiceDetected(InetAddress address)
isServiceDetected
|
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)
isServiceDetected
isServiceDetected
in interface AsyncServiceDetector
address
- a InetAddress
object.DetectFuture
object.Copyright © 2015. All rights reserved.