org.jivesoftware.smack.util.dns
Class JavaxResolver
java.lang.Object
org.jivesoftware.smack.util.dns.JavaxResolver
- All Implemented Interfaces:
- DNSResolver
public class JavaxResolver
- extends Object
- implements DNSResolver
A DNS resolver (mostly for SRV records), which makes use of the API provided in the javax.* namespace.
- Author:
- Florian Schmaus
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static DNSResolver getInstance()
isSupported
public static boolean isSupported()
lookupSRVRecords
public List<SRVRecord> lookupSRVRecords(String name)
- Description copied from interface:
DNSResolver
- Gets a list of service records for the specified service.
- Specified by:
lookupSRVRecords
in interface DNSResolver
- Parameters:
name
- The symbolic name of the service.
- Returns:
- The list of SRV records mapped to the service name.
Copyright © 2003-2007 Jive Software.