public class DnsServer extends DirectoryBackedService
transports| Constructor and Description |
|---|
DnsServer()
Creates a new instance of DnsConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Starts this ProtocolService which binds acceptors on the protocol port.
|
void |
stop()
Stops this ProtocolService which unbinds acceptors on the protocol port.
|
String |
toString() |
getSearchBaseDn, isCatelogBased, setCatelogBased, setSearchBaseDnaddTransports, getDatagramAcceptor, getDirectoryService, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setDirectoryService, setEnabled, setServiceId, setServiceName, setStarted, setTransportspublic void start()
throws IOException
ProtocolServiceIOException - if we cannot bind to the specified portspublic void stop()
ProtocolServicepublic String toString()
toString in class ObjectObject.toString()Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.