Smack

org.jivesoftware.smack.util.dns
Interface DNSResolver

All Known Implementing Classes:
DNSJavaResolver, JavaxResolver

public interface DNSResolver

Implementations of this interface define a class that is capable of resolving DNS addresses.


Method Summary
 java.util.List<SRVRecord> lookupSRVRecords(java.lang.String name)
          Gets a list of service records for the specified service.
 

Method Detail

lookupSRVRecords

java.util.List<SRVRecord> lookupSRVRecords(java.lang.String name)
Gets a list of service records for the specified service.

Parameters:
name - The symbolic name of the service.
Returns:
The list of SRV records mapped to the service name.

Smack

Copyright © 2003-2007 Jive Software.