Package arc.net.dns
Class AbstractNameserverProvider
java.lang.Object
arc.net.dns.AbstractNameserverProvider
- All Implemented Interfaces:
NameserverProvider
- Direct Known Subclasses:
ResolvConfNameserverProvider
Simple abstract class for name server resolvers.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addNameServer
(InetSocketAddress server) Returns all located servers, which may be empty.protected final void
reset()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.net.dns.NameserverProvider
initialize, isEnabled
-
Constructor Details
-
AbstractNameserverProvider
public AbstractNameserverProvider()
-
-
Method Details
-
getNameservers
Description copied from interface:NameserverProvider
Returns all located servers, which may be empty.- Specified by:
getNameservers
in interfaceNameserverProvider
-
reset
protected final void reset() -
addNameServer
-