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, getDirectoryService, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setDirectoryService, 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 © 2003-2012 Apache Software Foundation. All Rights Reserved.