public class DNSUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DNSUtil.HostAddress
Encapsulates a hostname and port.
|
Constructor and Description |
---|
DNSUtil() |
Modifier and Type | Method and Description |
---|---|
static DNSUtil.HostAddress |
resolveXMPPDomain(java.lang.String domain)
Returns the host name and port that the specified XMPP server can be
reached at for client-to-server communication.
|
static DNSUtil.HostAddress |
resolveXMPPServerDomain(java.lang.String domain)
Returns the host name and port that the specified XMPP server can be
reached at for server-to-server communication.
|
public static DNSUtil.HostAddress resolveXMPPDomain(java.lang.String domain)
As an example, a lookup for "example.com" may return "im.example.com:5269".
domain
- the domain.public static DNSUtil.HostAddress resolveXMPPServerDomain(java.lang.String domain)
As an example, a lookup for "example.com" may return "im.example.com:5269".
domain
- the domain.Copyright © 2003 Jive Software.