- DAFAULT_MAX_REQUEST_SIZE - Static variable in class org.nhindirect.dns.DNSServerSettings
-
- DefaultDNSRecordPrinter - Class in org.nhindirect.dns.tools
-
Utility class for formatting and outputting the content of DNS records.
- DefaultDNSRecordPrinter() - Constructor for class org.nhindirect.dns.tools.DefaultDNSRecordPrinter
-
Default constructor.
- DNSError<T> - Class in org.nhindirect.dns
-
Container for a DNS error code.
- DNSError(T) - Constructor for class org.nhindirect.dns.DNSError
-
Constructs a new DNSError.
- DNSException - Exception in org.nhindirect.dns
-
Exception for DNS server errors.
- DNSException(String) - Constructor for exception org.nhindirect.dns.DNSException
-
Construct an exception with an error message.
- DNSException(DNSError<?>) - Constructor for exception org.nhindirect.dns.DNSException
-
Construct an exception with a given DNS error.
- DNSException(DNSError<?>, String) - Constructor for exception org.nhindirect.dns.DNSException
-
Constructs an exception with a message and the DNS error.
- DNSException(DNSError<?>, Exception) - Constructor for exception org.nhindirect.dns.DNSException
-
Constructs an exception with the DNS error and the exception that caused the error.
- DNSException(DNSError<?>, String, Exception) - Constructor for exception org.nhindirect.dns.DNSException
-
Constructs an exception with the DNS error, a message, and the exception that caused the error.
- DNSManager - Class in org.nhindirect.dns.tools
-
Command line tool for managing DNS entries in the Direct Project configuration service.
- DNSManager(URL) - Constructor for class org.nhindirect.dns.tools.DNSManager
-
Constructor with the location of the configuration service.
- DNSRecordCommands - Class in org.nhindirect.dns.tools
-
Command definition and logic for managing DNS records.
- DNSRecordCommands(ConfigurationServiceProxy) - Constructor for class org.nhindirect.dns.tools.DNSRecordCommands
-
Constructor that takes a reference to the configuration service proxy.
- DNSRecordParser - Class in org.nhindirect.dns.tools
-
Parses an array of strings into DNS records.
- DNSRecordParser() - Constructor for class org.nhindirect.dns.tools.DNSRecordParser
-
Default empty constructor
- DNSRecordPrinter - Interface in org.nhindirect.dns.tools
-
Interface for printing DNS records to an output Stream.
- DNSResponder - Class in org.nhindirect.dns
-
Abstract DNSResponder for DNS requests.
- DNSResponder(DNSServerSettings, DNSStore) - Constructor for class org.nhindirect.dns.DNSResponder
-
Creates a DNS responder using the provided settings and DNS store.
- DNSResponderTCP - Class in org.nhindirect.dns
-
TCP/IP implementation of the {@link DNSReponser) interface.
- DNSResponderTCP(DNSServerSettings, DNSStore) - Constructor for class org.nhindirect.dns.DNSResponderTCP
- DNSResponderUDP - Class in org.nhindirect.dns
-
UDP/IP implementation of the {@link DNSReponser) interface.
- DNSResponderUDP(DNSServerSettings, DNSStore) - Constructor for class org.nhindirect.dns.DNSResponderUDP
-
}
- DNSServer - Class in org.nhindirect.dns
-
The DNS server creates the UDP and TCP responders and manages their life cycles.
- DNSServer(DNSStore, DNSServerSettings) - Constructor for class org.nhindirect.dns.DNSServer
-
Create a new DNSServer
- DNSServerConfig - Interface in org.nhindirect.dns.config
-
The DNSServerConfig is responsible for loading configuration information from a URL and creating an injector that will subsequently
be used to create instances of a DNSServer.
- DNSServerConfigModule - Class in org.nhindirect.dns.module
-
Guice module for generating a configuration provider based on the URL protocol.
- DNSServerFactory - Class in org.nhindirect.dns
-
The DNSServerFactory is a bootstrapper for creating instances of the {@link DNSServer) based on configuration information.
- DNSServerFactory() - Constructor for class org.nhindirect.dns.DNSServerFactory
-
- DNSServerMBean - Interface in org.nhindirect.dns
-
MBean interface definition for monitoring and managing the DNS server.
- DNSServerModule - Class in org.nhindirect.dns.module
-
Guice module for configuring and creating DNSServer instances.
- DNSServerService - Class in org.nhindirect.dns.service
-
Service wrapper that instantiates and configures the DNS server.
- DNSServerService(URL, DNSServerSettings) - Constructor for class org.nhindirect.dns.service.DNSServerService
-
Creates the service wrapper with the location of the configuration service and server settings.
- DNSServerSettings - Class in org.nhindirect.dns
-
Tuning parameters for the DNS server.
- DNSServerSettings() - Constructor for class org.nhindirect.dns.DNSServerSettings
-
Create default DNS server settings
- DNSSocketServer - Class in org.nhindirect.dns
-
The socket server is an IP protocol agnostic server that manages threading/concurrency and message dispatching to the
concrete socket implementation.
- DNSSocketServer(DNSServerSettings, DNSResponder) - Constructor for class org.nhindirect.dns.DNSSocketServer
-
Creates a socket server.
- DNSSocketServerMBean - Interface in org.nhindirect.dns
-
MBean interface definition for monitoring and managing a DNS socket server.
- DNSStore - Interface in org.nhindirect.dns
-
A DNSStore encapsulates the physical medium that stores DNS records such as a files, databases, or web services.
- get(Message) - Method in class org.nhindirect.dns.ConfigServiceDNSStore
-
Processes a lookup request for DNS records.
- get(Message) - Method in interface org.nhindirect.dns.DNSStore
-
Processes a lookup request for DNS records.
- get() - Method in class org.nhindirect.dns.provider.BasicDNSServerSettingsProvider
- get() - Method in class org.nhindirect.dns.provider.ConfigServiceDNSStoreProvider
- get() - Method in class org.nhindirect.dns.provider.WSDNSServerConfigProvider
- get(Message) - Method in class org.nhindirect.dns.ProxyDNSStore
-
Processes a lookup request for DNS records.
- getAll(String[]) - Method in class org.nhindirect.dns.tools.DNSRecordCommands
-
Retrieves and prints all records in the configuration store.
- getANAME(String[]) - Method in class org.nhindirect.dns.tools.DNSRecordCommands
-
Looks up an A record by record id.
- getBindAddress() - Method in class org.nhindirect.dns.DNSServerSettings
-
Gets the IP4 addresses that the server will be bound to.
- getDNSRequestTask(Object) - Method in class org.nhindirect.dns.DNSSocketServer
-
Gets the Runnable task that will process a DNS request.
- getDNSRequestTask(Object) - Method in class org.nhindirect.dns.TCPServer
-
Gets the Runnable task that will process a DNS request.
- getDNSRequestTask(Object) - Method in class org.nhindirect.dns.UDPServer
-
Gets the Runnable task that will process a DNS request.
- getDNSStoreImplName() - Method in class org.nhindirect.dns.DNSServer
-
Gets the fully qualified class name of the DNS store.
- getDNSStoreImplName() - Method in interface org.nhindirect.dns.DNSServerMBean
-
Gets the fully qualified class name of the DNS store.
- getError() - Method in class org.nhindirect.dns.DNSError
-
Gets the internal error.
- getError() - Method in exception org.nhindirect.dns.DNSException
-
Gets the internal DNSError.
- getErrorRequestCount() - Method in interface org.nhindirect.dns.DNSSocketServerMBean
-
Gets the number of requests that resulted in an error.
- getErrorRequestCount() - Method in class org.nhindirect.dns.TCPServer
-
Gets the number of requests that resulted in an error.
- getErrorRequestCount() - Method in class org.nhindirect.dns.UDPServer
-
Gets the number of requests that resulted in an error.
- getJCEProviderName() - Static method in class org.nhindirect.dns.ConfigServiceDNSStore
-
Gets the configured JCE crypto provider string for crypto operations.
- getMaxActiveRequests() - Method in class org.nhindirect.dns.SocketServerSettings
-
Gets the maximum number of concurrent requests that can be processed by the server at any give time.
- getMaxConnectionBacklog() - Method in class org.nhindirect.dns.SocketServerSettings
-
Gets the maximum number of connections that are in the IP socket accept backlog.
- getMaxOutstandingAccepts() - Method in class org.nhindirect.dns.SocketServerSettings
-
Gets the maximum number of requests that can be accepted by the server, but not yet
committed to a processing thread.
- getMaxRequestSize() - Method in class org.nhindirect.dns.DNSServerSettings
-
Gets the maximum size in bytes of a request.
- getMissedRequestCount() - Method in interface org.nhindirect.dns.DNSSocketServerMBean
-
Gets the number of requests that returned no records without error.
- getMissedRequestCount() - Method in class org.nhindirect.dns.TCPServer
-
Gets the number of requests that returned no records without error.
- getMissedRequestCount() - Method in class org.nhindirect.dns.UDPServer
-
Gets the number of requests that returned no records without error.
- getMX(String[]) - Method in class org.nhindirect.dns.tools.DNSRecordCommands
-
Looks up an MX record by record id.
- getPort() - Method in class org.nhindirect.dns.DNSServerSettings
-
Gets the IP port that the server will be listening on.
- getReadBufferSize() - Method in class org.nhindirect.dns.SocketServerSettings
-
Gets the maximum size request buffer size in bytes.
- getReceiveTimeout() - Method in class org.nhindirect.dns.SocketServerSettings
-
Gets the socket timeout in milliseconds for receiving or reading request.
- getRejectedRequestCount() - Method in class org.nhindirect.dns.DNSSocketServer
-
Gets the number of requests that were rejected by the server due to being to busy.
- getRejectedRequestCount() - Method in interface org.nhindirect.dns.DNSSocketServerMBean
-
Gets the number of requests that were rejected by the server due to being to busy.
- getResourceRequestCount() - Method in class org.nhindirect.dns.DNSSocketServer
-
Gets the number of DNS requests received by the server.
- getResourceRequestCount() - Method in interface org.nhindirect.dns.DNSSocketServerMBean
-
Gets the number of DNS requests received by the server.
- getResourceRequestLoad() - Method in class org.nhindirect.dns.DNSSocketServer
-
Gets the request load of the server.
- getResourceRequestLoad() - Method in interface org.nhindirect.dns.DNSSocketServerMBean
-
Gets the request load of the server.
- getSendTimeout() - Method in class org.nhindirect.dns.SocketServerSettings
-
Gets the socket timeout in milliseconds for sending responses.
- getServerInjector() - Method in interface org.nhindirect.dns.config.DNSServerConfig
-
Gets a Guide Injector that can be used to create DNSServer objects based on configuration information.
- getServerInjector() - Method in class org.nhindirect.dns.config.WSDNSServerConfig
-
Gets a Guide Injector that can be used to create DNSServer objects based on configuration information.
- getServerSettings() - Method in class org.nhindirect.dns.DNSServer
-
Gets the DNS server settings.
- getServerSettings() - Method in interface org.nhindirect.dns.DNSServerMBean
-
Gets the DNS server settings.
- getSOA(String[]) - Method in class org.nhindirect.dns.tools.DNSRecordCommands
-
Looks up an SOA record by record id.
- getSocketAcceptTask() - Method in class org.nhindirect.dns.DNSSocketServer
-
Gets the Runnable task that will be responsible for accepting connections.
- getSocketAcceptTask() - Method in class org.nhindirect.dns.TCPServer
-
Gets the Runnable task that will be responsible for accepting connections.
- getSocketAcceptTask() - Method in class org.nhindirect.dns.UDPServer
-
Gets the Runnable task that will be responsible for accepting connections.
- getSocketCloseTimeout() - Method in class org.nhindirect.dns.SocketServerSettings
-
Gets the timeout in milliseconds for closing a socket connection.
- getSuccessfulRequestCount() - Method in interface org.nhindirect.dns.DNSSocketServerMBean
-
Gets the number of requests that returned without error.
- getSuccessfulRequestCount() - Method in class org.nhindirect.dns.TCPServer
-
Gets the number of requests that returned without error.
- getSuccessfulRequestCount() - Method in class org.nhindirect.dns.UDPServer
-
Gets the number of requests that returned without error.
- getUptime() - Method in class org.nhindirect.dns.DNSSocketServer
-
Gets the time in milliseconds that the server has been running since its last start.
- getUptime() - Method in interface org.nhindirect.dns.DNSSocketServerMBean
-
Gets the time in milliseconds that the server has been running since its last start.
- PARSE_ANAME_USAGE - Static variable in class org.nhindirect.dns.tools.DNSRecordParser
-
- PARSE_MX_USAGE - Static variable in class org.nhindirect.dns.tools.DNSRecordParser
-
- PARSE_SOA_USAGE - Static variable in class org.nhindirect.dns.tools.DNSRecordParser
-
- parseANAME(String[]) - Method in class org.nhindirect.dns.tools.DNSRecordParser
-
Converts A record configuration information to an ARecord
- parseMX(String[]) - Method in class org.nhindirect.dns.tools.DNSRecordParser
-
Converts MX record configuration information to an MXRecord
- parseSOA(String[]) - Method in class org.nhindirect.dns.tools.DNSRecordParser
-
Converts SAO record configuration information to an SOARecord
- pkcs12ToStrippedPkcs12(byte[], String) - Static method in class org.nhindirect.dns.utils.CertUtils
-
Takes a PKCS12 byte stream and returns a PKCS12 byte stream with the pass phrase protection and encryption removed.
- print(Collection<DnsRecord>) - Method in class org.nhindirect.dns.tools.DefaultDNSRecordPrinter
-
Prints the contents of a collection of DNS records.
- print(DnsRecord[]) - Method in class org.nhindirect.dns.tools.DefaultDNSRecordPrinter
-
Prints the contents of an array of DNS records.
- print(DnsRecord) - Method in class org.nhindirect.dns.tools.DefaultDNSRecordPrinter
-
Prints the contents of a single DNS records.
- print(Collection<DnsRecord>) - Method in interface org.nhindirect.dns.tools.DNSRecordPrinter
-
Prints the contents of a collection of DNS records.
- print(DnsRecord[]) - Method in interface org.nhindirect.dns.tools.DNSRecordPrinter
-
Prints the contents of an array of DNS records.
- print(DnsRecord) - Method in interface org.nhindirect.dns.tools.DNSRecordPrinter
-
Prints the contents of a single DNS records.
- printRecord(T) - Method in class org.nhindirect.dns.tools.printers.AbstractRecordPrinter
-
- printRecord(T) - Method in interface org.nhindirect.dns.tools.printers.RecordPrinter
-
- printRecords(Collection<T>) - Method in class org.nhindirect.dns.tools.printers.AbstractRecordPrinter
-
- printRecords(Collection<T>) - Method in interface org.nhindirect.dns.tools.printers.RecordPrinter
-
- processRequest(byte[]) - Method in class org.nhindirect.dns.DNSResponder
-
Processes a DNS request and returns a DNS response.
- processRequest(Message) - Method in class org.nhindirect.dns.DNSResponder
-
Processes a DNS request and returns a DNS response.
- ProxyDNSStore - Class in org.nhindirect.dns
-
Proxy DNS store that delegates all requests to another set of DNS servers.
- ProxyDNSStore() - Constructor for class org.nhindirect.dns.ProxyDNSStore
-
Creates a default proxy store.
- ProxyDNSStore(int) - Constructor for class org.nhindirect.dns.ProxyDNSStore
-
Creates a proxy store delegating requests to the provided port.
- ProxyDNSStore(Collection<String>) - Constructor for class org.nhindirect.dns.ProxyDNSStore
-
Creates a proxy using the the provided servers for delegating requests.
- ProxyDNSStore(Collection<String>, int) - Constructor for class org.nhindirect.dns.ProxyDNSStore
-
Creates a proxy using the provided servers and port for delegating requests.
- setBindAddress(String) - Method in class org.nhindirect.dns.DNSServerSettings
-
Sets the IP4 addresses that the server will be bound to.
- setConfigurationProxy(ConfigurationServiceProxy) - Method in class org.nhindirect.dns.tools.CertCommands
-
- setConfigurationProxy(ConfigurationServiceProxy) - Method in class org.nhindirect.dns.tools.DNSRecordCommands
-
Sets the printer that will be used to print record query responses.
- setExitOnEndCommands(boolean) - Static method in class org.nhindirect.dns.tools.DNSManager
-
Determines if the application should exit when command processing is complete.
- setJCEProviderName(String) - Static method in class org.nhindirect.dns.ConfigServiceDNSStore
-
Overrides the configured JCE crypto provider string.
- setMaxActiveRequests(int) - Method in class org.nhindirect.dns.SocketServerSettings
-
Sets the maximum number of concurrent requests that can be processed by the server at any give time.
- setMaxConnectionBacklog(int) - Method in class org.nhindirect.dns.SocketServerSettings
-
Sets the maximum number of connections that are in the IP socket accept backlog.
- setMaxOutstandingAccepts(int) - Method in class org.nhindirect.dns.SocketServerSettings
-
Sets the maximum number of requests that can be accepted by the server, but not yet
committed to a processing thread.
- setMaxRequestSize(int) - Method in class org.nhindirect.dns.DNSServerSettings
-
Sets the maximum size in bytes of a request.
- setPort(int) - Method in class org.nhindirect.dns.DNSServerSettings
-
Sets the IP port that the server will be listening on.
- setReadBufferSize(int) - Method in class org.nhindirect.dns.SocketServerSettings
-
Sets the maximum size request buffer size in bytes.
- setReceiveTimeout(int) - Method in class org.nhindirect.dns.SocketServerSettings
-
Sets the socket timeout in milliseconds for receiving or reading request.
- setRecordPrinter(RecordPrinter<Certificate>) - Method in class org.nhindirect.dns.tools.CertCommands
-
- setRecordPrinter(DNSRecordPrinter) - Method in class org.nhindirect.dns.tools.DNSRecordCommands
-
Sets the printer that will be used to print record query responses.
- setSendTimeout(int) - Method in class org.nhindirect.dns.SocketServerSettings
-
Sets the socket timeout in milliseconds for sending responses.
- setSocketCloseTimeout(int) - Method in class org.nhindirect.dns.SocketServerSettings
-
Sets the timeout in milliseconds for closing a socket connection.
- SimpleServiceRunner - Class in org.nhindirect.dns.service
-
Simple command line based application that launches the DNS server.
- SimpleServiceRunner() - Constructor for class org.nhindirect.dns.service.SimpleServiceRunner
-
- sOAImport(String[]) - Method in class org.nhindirect.dns.tools.DNSRecordCommands
-
Imports an SOA record from a file.
- SocketServerSettings - Class in org.nhindirect.dns
-
Tuning parameters for the DNS server socket connections.
- SocketServerSettings() - Constructor for class org.nhindirect.dns.SocketServerSettings
-
Creates a default set of socket parameters.
- start() - Method in class org.nhindirect.dns.DNSResponder
-
Starts the responder.
- start() - Method in class org.nhindirect.dns.DNSResponderTCP
-
Starts the responder.
- start() - Method in class org.nhindirect.dns.DNSResponderUDP
-
Starts the responder.
- start() - Method in class org.nhindirect.dns.DNSServer
-
Starts the DNS server by initializing and launching the TCP and UDP listeners.
- start() - Method in class org.nhindirect.dns.DNSSocketServer
-
Starts the socket server and initializes the dispatch threads.
- start() - Method in class org.nhindirect.dns.TCPServer
-
Starts the socket server and initializes the dispatch threads.
- start() - Method in class org.nhindirect.dns.UDPServer
-
Starts the socket server and initializes the dispatch threads.
- startServer() - Method in class org.nhindirect.dns.DNSServer
-
Initializes the DNS server socket listeners are begins accepting requests.
- startServer() - Method in interface org.nhindirect.dns.DNSServerMBean
-
Initializes the DNS server socket listeners are begins accepting requests.
- stop() - Method in class org.nhindirect.dns.DNSResponder
-
Stops the responder.
- stop() - Method in class org.nhindirect.dns.DNSResponderTCP
-
Stops the responder.
- stop() - Method in class org.nhindirect.dns.DNSResponderUDP
-
Stops the responder.
- stop() - Method in class org.nhindirect.dns.DNSServer
-
Stops the server and shuts down the TCP and UPD listeners.
- stop() - Method in class org.nhindirect.dns.DNSSocketServer
-
Shuts down the socket server and terminates the server from accepting additional requests.
- stop() - Method in class org.nhindirect.dns.TCPServer
-
Shuts down the socket server and terminates the server from accepting additional requests.
- stop() - Method in class org.nhindirect.dns.UDPServer
-
Shuts down the socket server and terminates the server from accepting additional requests.
- stopServer() - Method in class org.nhindirect.dns.DNSServer
-
Shutdown the DNS server socket listeners and stops accepting requests.
- stopServer() - Method in interface org.nhindirect.dns.DNSServerMBean
-
Shutdown the DNS server socket listeners and stops accepting requests.
- stopService() - Method in class org.nhindirect.dns.service.DNSServerService
-
Stops and shutdown the service.