org.nhindirect.dns
Class DNSResponderTCP

java.lang.Object
  extended by org.nhindirect.dns.DNSResponder
      extended by org.nhindirect.dns.DNSResponderTCP

public class DNSResponderTCP
extends DNSResponder

TCP/IP implementation of the DNSReponser) interface. The responder binds to the addresses and port provided in the {@link DNSServerSettings} object.

Since:
1.0
Author:
Greg Meyer

Constructor Summary
DNSResponderTCP(DNSServerSettings settings, DNSStore store)
          
 
Method Summary
 void start()
          Starts the responder.
 void stop()
          Stops the responder.
 
Methods inherited from class org.nhindirect.dns.DNSResponder
processRequest, processRequest
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DNSResponderTCP

public DNSResponderTCP(DNSServerSettings settings,
                       DNSStore store)
                throws DNSException

Throws:
DNSException
Method Detail

start

public void start()
           throws DNSException
Starts the responder. Concrete implementation bind their protocol specific handlers and start accepting DNS requests.}

Specified by:
start in class DNSResponder
Throws:
DNSException

stop

public void stop()
          throws DNSException
Stops the responder. The responder will not londer accept DNS requests after stop has been called.}

Specified by:
stop in class DNSResponder
Throws:
DNSException


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