public class DnsServer extends DirectoryBackedService
| Modifier and Type | Field and Description |
|---|---|
private static int |
DEFAULT_IP_PORT
The default IP port.
|
private static org.slf4j.Logger |
LOG
logger for this class
|
private static long |
serialVersionUID |
private static java.lang.String |
SERVICE_NAME_DEFAULT
The default service name.
|
private static java.lang.String |
SERVICE_PID_DEFAULT
The default service pid.
|
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.
|
java.lang.String |
toString() |
getDirectoryService, getSearchBaseDn, isCatelogBased, setCatelogBased, setDirectoryService, setSearchBaseDnaddTransports, getDatagramAcceptor, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setEnabled, setServiceId, setServiceName, setStarted, setTransportsprivate static final long serialVersionUID
private static final org.slf4j.Logger LOG
private static final int DEFAULT_IP_PORT
private static final java.lang.String SERVICE_PID_DEFAULT
private static final java.lang.String SERVICE_NAME_DEFAULT
public void start()
throws java.io.IOException
ProtocolServicejava.io.IOException - if we cannot bind to the specified portspublic void stop()
ProtocolServicepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()