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, setTransports
public NtpServer()
public void start() throws IOException
IOException
- if there are issues bindingpublic void stop()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.