public class NtpServer extends AbstractProtocolService
transports| Constructor and Description |
|---|
NtpServer()
Creates a new instance of NtpConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Start the NTPServer.
|
void |
stop()
Stops this ProtocolService which unbinds acceptors on the protocol port.
|
String |
toString() |
addTransports, getDatagramAcceptor, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setEnabled, setServiceId, setServiceName, setStarted, setTransportspublic void start()
throws IOException
IOException - if there are issues bindingpublic void stop()
public String toString()
toString in class ObjectObject.toString()Copyright © 2021. All rights reserved.