@Component @Scope(value="prototype") public class LoopDetector extends BasicDetector<LineOrientedRequest,LoopResponse>
Constructor and Description |
---|
LoopDetector()
Constructor for LoopDetector.
|
Modifier and Type | Method and Description |
---|---|
protected Client<LineOrientedRequest,LoopResponse> |
getClient()
getClient
|
String |
getIpMatch()
getIpMatch
|
boolean |
isSupported()
isSupported
|
protected void |
onInit()
onInit
|
void |
setIpMatch(String ipMatch)
setIpMatch
|
void |
setSupported(boolean isSupported)
setSupported
|
dispose, expectBanner, getConversation, isServiceDetected, send, send
getPort, getRetries, getServiceName, getTimeout, init, setPort, setRetries, setServiceName, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPort, getServiceName, getTimeout, init, setPort, setServiceName, setTimeout
protected Client<LineOrientedRequest,LoopResponse> getClient()
getClient
getClient
in class BasicDetector<LineOrientedRequest,LoopResponse>
Client
object.protected void onInit()
onInit
onInit
in class AbstractDetector
public void setIpMatch(String ipMatch)
setIpMatch
setIpMatch
in interface ServiceDetector
setIpMatch
in class AbstractDetector
ipMatch
- a String
object.public String getIpMatch()
getIpMatch
getIpMatch
in interface ServiceDetector
getIpMatch
in class AbstractDetector
String
object.public void setSupported(boolean isSupported)
setSupported
isSupported
- a boolean.public boolean isSupported()
isSupported
Copyright © 2016. All rights reserved.