org.nhindirect.dns
Class DNSResponderTCP
java.lang.Object
org.nhindirect.dns.DNSResponder
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
|
Method Summary |
void |
start()
Starts the responder. |
void |
stop()
Stops the responder. |
DNSResponderTCP
public DNSResponderTCP(DNSServerSettings settings,
DNSStore store)
throws DNSException
-
- Throws:
DNSException
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.