org.apache.directory.server.dns
Class DnsServer

java.lang.Object
  extended by org.apache.directory.server.protocol.shared.AbstractProtocolService
      extended by org.apache.directory.server.protocol.shared.DirectoryBackedService
          extended by org.apache.directory.server.dns.DnsServer
All Implemented Interfaces:
ProtocolService

public class DnsServer
extends DirectoryBackedService

Contains the configuration parameters for the DNS protocol provider.

Version:
$Rev: 596832 $, $Date: 2007-11-20 22:43:50 +0100 (Di, 20 Nov 2007) $
Author:
Apache Directory Project
'XBean'

Constructor Summary
DnsServer()
          Creates a new instance of DnsConfiguration.
 
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.DirectoryBackedService
getSearchBaseDn, isCatelogBased, setCatelogBased, setSearchBaseDn
 
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

DnsServer

public DnsServer()
Creates a new instance of DnsConfiguration.

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 we cannot bind to the specified ports

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.