Class DNSJavaResolver
- java.lang.Object
-
- org.jivesoftware.smack.util.dns.DNSResolver
-
- org.jivesoftware.smack.util.dns.dnsjava.DNSJavaResolver
-
- All Implemented Interfaces:
SmackInitializer
public class DNSJavaResolver extends DNSResolver implements SmackInitializer
This implementation uses the dnsjava implementation for resolving DNS addresses.
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.smack.util.dns.DNSResolver
LOGGER
-
-
Constructor Summary
Constructors Constructor Description DNSJavaResolver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DNSResolver
getInstance()
java.util.List<java.lang.Exception>
initialize()
protected java.util.List<SRV>
lookupSrvRecords0(DnsName name, java.util.List<RemoteConnectionEndpointLookupFailure> lookupFailures, ConnectionConfiguration.DnssecMode dnssecMode)
static void
setup()
-
Methods inherited from class org.jivesoftware.smack.util.dns.DNSResolver
lookupHostAddress, lookupHostAddress0, lookupSrvRecords, shouldContinue
-
-
-
-
Constructor Detail
-
DNSJavaResolver
public DNSJavaResolver()
-
-
Method Detail
-
getInstance
public static DNSResolver getInstance()
-
lookupSrvRecords0
protected java.util.List<SRV> lookupSrvRecords0(DnsName name, java.util.List<RemoteConnectionEndpointLookupFailure> lookupFailures, ConnectionConfiguration.DnssecMode dnssecMode)
- Specified by:
lookupSrvRecords0
in classDNSResolver
-
setup
public static void setup()
-
initialize
public java.util.List<java.lang.Exception> initialize()
- Specified by:
initialize
in interfaceSmackInitializer
-
-