public abstract class AsyncBasicDetectorNettyImpl<Request,Response> extends AsyncBasicDetector<Request,Response>
AsyncBasicDetectorNettyImpl class.
CAUTION: This class is unused. This implementation has never been in production.CHARSET_UTF8
Constructor and Description |
---|
AsyncBasicDetectorNettyImpl(String serviceName,
int port)
Constructor for AsyncBasicDetector.
|
AsyncBasicDetectorNettyImpl(String serviceName,
int port,
int timeout,
int retries)
Constructor for AsyncBasicDetector.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendToPipeline(org.jboss.netty.channel.ChannelPipeline retval) |
void |
dispose()
dispose
|
protected DetectorHandlerNettyImpl<Request,Response> |
getDetectorHandler(AsyncClientConversation<Request,Response> conversation) |
DetectFuture |
isServiceDetected(InetAddress address)
isServiceDetected
|
expectBanner, find, getConversation, getIdleTime, isUseSSLFilter, send, setIdleTime, setUseSSLFilter, startsWith
getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, onInit, setIpMatch, setPort, setRetries, setServiceName, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
public AsyncBasicDetectorNettyImpl(String serviceName, int port)
Constructor for AsyncBasicDetector.
Request
- a Request object.Response
- a Response object.serviceName
- a String
object.port
- a int.public void dispose()
dispose
dispose
in interface ServiceDetector
dispose
in class AbstractDetector
public final DetectFuture isServiceDetected(InetAddress address)
isServiceDetected
isServiceDetected
in interface AsyncServiceDetector
isServiceDetected
in class AsyncAbstractDetector
address
- a InetAddress
object.DetectFuture
object.protected void appendToPipeline(org.jboss.netty.channel.ChannelPipeline retval)
protected DetectorHandlerNettyImpl<Request,Response> getDetectorHandler(AsyncClientConversation<Request,Response> conversation)
Copyright © 2017. All rights reserved.