public class DNSJavaResolver extends Object implements SmackInitializer, DNSResolver
| Constructor and Description |
|---|
DNSJavaResolver() |
| Modifier and Type | Method and Description |
|---|---|
static DNSResolver |
getInstance() |
List<Exception> |
initialize() |
List<SRVRecord> |
lookupSRVRecords(String name)
Gets a list of service records for the specified service.
|
static void |
setup() |
public DNSJavaResolver()
public static DNSResolver getInstance()
public List<SRVRecord> lookupSRVRecords(String name) throws org.xbill.DNS.TextParseException
DNSResolverlookupSRVRecords in interface DNSResolvername - The symbolic name of the service.org.xbill.DNS.TextParseExceptionpublic static void setup()
public List<Exception> initialize()
initialize in interface SmackInitializer