public class NtpDetector extends BasicDetector<NtpMessage,DatagramPacket>
NtpDetector class.
Constructor and Description |
---|
NtpDetector()
Constructor for NtpDetector.
|
Modifier and Type | Method and Description |
---|---|
protected Client<NtpMessage,DatagramPacket> |
getClient()
getClient
|
String |
getIpToValidate() |
protected void |
onInit()
onInit
|
void |
setIpToValidate(String address) |
dispose, expectBanner, getConversation, isServiceDetected, send, send
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
protected Client<NtpMessage,DatagramPacket> getClient()
getClient
getClient
in class BasicDetector<NtpMessage,DatagramPacket>
Client
object.protected void onInit()
onInit
onInit
in class AbstractDetector
public void setIpToValidate(String address)
public String getIpToValidate()
Copyright © 2020. All rights reserved.