public class IcmpDetector extends SyncAbstractDetector
IcmpDetector class.
Constructor and Description |
---|
IcmpDetector()
Constructor for IcmpDetector.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
dispose
|
int |
getDscp() |
boolean |
isAllowFragmentation() |
boolean |
isServiceDetected(InetAddress address)
isServiceDetected
|
protected void |
onInit()
onInit
|
void |
setAllowFragmentation(boolean allowFragmentation) |
void |
setDscp(int dscp) |
void |
setPingerFactory(PingerFactory pingerFactory) |
detect
getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, 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 void setDscp(int dscp)
public int getDscp()
public boolean isAllowFragmentation()
public void setAllowFragmentation(boolean allowFragmentation)
public boolean isServiceDetected(InetAddress address)
isServiceDetected
isServiceDetected
in class SyncAbstractDetector
address
- a InetAddress
object.protected void onInit()
AbstractDetector
onInit
onInit
in class AbstractDetector
public void dispose()
AbstractDetector
dispose
dispose
in interface ServiceDetector
dispose
in class AbstractDetector
public void setPingerFactory(PingerFactory pingerFactory)
Copyright © 2017. All rights reserved.