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:
ProtocolService

public class NtpServer
extends AbstractProtocolService

Contains the configuration parameters for the NTP protocol provider.

Version:
$Rev: 596939 $, $Date: 2007-11-21 06:07:19 +0100 (Mi, 21 Nov 2007) $
Author:
Apache Directory Project
'XBean'

Constructor Summary
NtpServer()
          Creates a new instance of NtpConfiguration.
 
Method Summary
 void start()
          Starts this ProtocolService which binds acceptors on the protocol port.
 void stop()
          Stops this ProtocolService which unbinds acceptors on the protocol port.
 
Methods inherited from class org.apache.directory.server.protocol.shared.AbstractProtocolService
getDatagramAcceptor, getDirectoryService, getIpAddress, getIpPort, getServiceId, getServiceName, getSocketAcceptor, getTransportProtocols, isEnabled, isStarted, setDatagramAcceptor, setDirectoryService, setEnabled, setIpAddress, setIpPort, setServiceId, setServiceName, setSocketAcceptor, setStarted, setTransportProtocols
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NtpServer

public NtpServer()
Creates a new instance of NtpConfiguration.

Method Detail

start

public void start()
           throws java.io.IOException
Description copied from interface: ProtocolService
Starts this ProtocolService which binds acceptors on the protocol port.

Throws:
java.io.IOException - if there are issues binding

stop

public void stop()
Description copied from interface: ProtocolService
Stops this ProtocolService which unbinds acceptors on the protocol port.



Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.