org.apache.directory.server.ntp
Class NtpServer
java.lang.Object
org.apache.directory.server.protocol.shared.AbstractProtocolService
org.apache.directory.server.ntp.NtpServer
- All Implemented Interfaces:
- ProtocolService
public class NtpServer
- extends AbstractProtocolService
Contains the configuration parameters for the NTP protocol provider.
- Author:
- Apache Directory Project
|
Constructor Summary |
NtpServer()
Creates a new instance of NtpConfiguration. |
| Methods inherited from class org.apache.directory.server.protocol.shared.AbstractProtocolService |
addTransports, getDatagramAcceptor, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setEnabled, setServiceId, setServiceName, setStarted, setTransports |
NtpServer
public NtpServer()
- Creates a new instance of NtpConfiguration.
start
public void start()
throws IOException
- Start the NTPServer. We initialize the Datagram and Socket, if necessary.
Note that we don't have any filter in the chain, everything is done
in the handler.
- Throws:
IOException - if there are issues binding
stop
public void stop()
-
toString
public String toString()
- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.