org.nhindirect.dns.service
Class DNSServerService

java.lang.Object
  extended by org.nhindirect.dns.service.DNSServerService

public class DNSServerService
extends Object

Service wrapper that instantiates and configures the DNS server.

Since:
1.0
Author:
Greg Meyer

Constructor Summary
DNSServerService(URL configLocation, DNSServerSettings settings)
          Creates the service wrapper with the location of the configuration service and server settings.
 
Method Summary
 void stopService()
          Stops and shutdown the service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DNSServerService

public DNSServerService(URL configLocation,
                        DNSServerSettings settings)
                 throws DNSException
Creates the service wrapper with the location of the configuration service and server settings.

Parameters:
configLocation - URL with the location of the configuration service.
settings - Default settings for the server. Settings in the configuration service can over ride these settings.
Throws:
DNSException
Since:
1.0
Method Detail

stopService

public void stopService()
                 throws DNSException
Stops and shutdown the service.

Throws:
DNSException
Since:
1.0


Copyright © 2010-2015 The Direct Project. All Rights Reserved.