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: 925572 $, $Date: 2010-03-20 11:23:01 +0100 (Sat, 20 Mar 2010) $
Author:
Apache Directory Project
XBean

Field Summary
 
Fields inherited from class org.apache.directory.server.protocol.shared.AbstractProtocolService
transports
 
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.
 java.lang.String toString()
           
 
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
addTransports, getDatagramAcceptor, getDirectoryService, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setDirectoryService, setEnabled, setServiceId, setServiceName, setStarted, setTransports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


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