| Package | Description |
|---|---|
| org.nhindirect.dns |
Direct project DNS services and responders.
|
| org.nhindirect.dns.config |
Utility class used by Guice modules for getting DNS server configuration information.
|
| org.nhindirect.dns.module |
Guice modules for configuration and creating DNS server instances.
|
| org.nhindirect.dns.provider |
Guice providers for creating DNS server configuration and server classes.
|
| org.nhindirect.dns.service |
Direct project DNS application/service wrappers and entry points.
|
| Modifier and Type | Method and Description |
|---|---|
static DNSServer |
DNSServerFactory.createDNSServer(URL configLocation,
com.google.inject.Provider<DNSStore> dnsStore,
com.google.inject.Provider<DNSServerSettings> settings)
Creates an instance of a
DNSServer using the configuration information stored at the configuration location. |
| Constructor and Description |
|---|
DNSResponder(DNSServerSettings settings,
DNSStore store)
Creates a DNS responder using the provided settings and DNS store.
|
DNSResponderTCP(DNSServerSettings settings,
DNSStore store) |
DNSResponderUDP(DNSServerSettings settings,
DNSStore store)
}
|
DNSServer(DNSStore store,
DNSServerSettings settings)
Create a new DNSServer
|
DNSSocketServer(DNSServerSettings settings,
DNSResponder responsder)
Creates a socket server.
|
TCPServer(DNSServerSettings settings,
DNSResponder responder)
Creates a TCP socket server.
|
UDPServer(DNSServerSettings settings,
DNSResponder responder)
Creates a UDP server that listens to datagram packets.
|
| Constructor and Description |
|---|
WSDNSServerConfig(URL configServiceLocation,
com.google.inject.Provider<DNSStore> storeProvider,
com.google.inject.Provider<DNSServerSettings> settings)
Construct and configuration component with the location of the configuration file and an optional provider for creating
instances of the DNSServer.
|
| Modifier and Type | Method and Description |
|---|---|
static DNSServerModule |
DNSServerModule.create(com.google.inject.Provider<DNSStore> dnsStore,
com.google.inject.Provider<DNSServerSettings> settings)
Creates a module using specific
DNSStore and DNSServerSettings providers |
static DNSServerConfigModule |
DNSServerConfigModule.create(URL configLocation,
com.google.inject.Provider<DNSStore> storeProvider,
com.google.inject.Provider<DNSServerSettings> settings)
Creates a DNSServerConfigModule that is used by a Guice to create a
DNSServerConfig object. |
| Modifier and Type | Method and Description |
|---|---|
DNSServerSettings |
BasicDNSServerSettingsProvider.get() |
| Constructor and Description |
|---|
WSDNSServerConfigProvider(URL configURL,
com.google.inject.Provider<DNSStore> storeProvider,
com.google.inject.Provider<DNSServerSettings> settings)
Creates a provider with the location of the configuration service and an optional
DNSStore provider. |
| Constructor and Description |
|---|
DNSServerService(URL configLocation,
DNSServerSettings settings)
Creates the service wrapper with the location of the configuration service and server settings.
|
Copyright © 2010-2015 The Direct Project. All Rights Reserved.