org.nhindirect.dns
Class DNSResponderUDP

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

public class DNSResponderUDP
extends DNSResponder

UDP/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
DNSResponderUDP(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

DNSResponderUDP

public DNSResponderUDP(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.