org.apache.directory.server.ntp
Class NtpServer

java.lang.Object
  extended by org.apache.directory.server.protocol.shared.AbstractProtocolService
      extended by org.apache.directory.server.ntp.NtpServer
All Implemented Interfaces:
org.apache.directory.server.protocol.shared.ProtocolService

public class NtpServer
extends org.apache.directory.server.protocol.shared.AbstractProtocolService

Contains the configuration parameters for the NTP protocol provider.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.server.protocol.shared.AbstractProtocolService
transports
 
Constructor Summary
NtpServer()
          Creates a new instance of NtpConfiguration.
 
Method Summary
 void start()
          Start the NTPServer.
 void stop()
          
 String toString()
           
 
Methods inherited from class org.apache.directory.server.protocol.shared.AbstractProtocolService
addTransports, getDatagramAcceptor, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setEnabled, setServiceId, setServiceName, setStarted, setTransports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NtpServer

public NtpServer()
Creates a new instance of NtpConfiguration.

Method Detail

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-2012 The Apache Software Foundation. All Rights Reserved.