Java 类org.jivesoftware.smack.util.dns.DNSResolver 实例源码

项目:Smack    文件:DNSUtilTest.java   
@Test
public void xmppClientDomainJavaXTest() {
    DNSResolver resolver = JavaxResolver.getInstance();
    assertNotNull(resolver);
    DNSUtil.setDNSResolver(resolver);
    xmppClientDomainTest();
}
项目:Smack    文件:DNSUtilTest.java   
@Test
public void xmppServerDomainJavaXTest() {
    DNSResolver resolver = JavaxResolver.getInstance();
    assertNotNull(resolver);
    DNSUtil.setDNSResolver(resolver);
    xmppServerDomainTest();
}
项目:Smack    文件:DNSUtilTest.java   
@Test
public void xmppClientDomainDNSJavaTest() {
    DNSResolver resolver = DNSJavaResolver.getInstance();
    assertNotNull(resolver);
    DNSUtil.setDNSResolver(resolver);
    xmppClientDomainTest();
}
项目:Smack    文件:DNSUtilTest.java   
@Test
public void xmppServerDomainDNSJavaTest() {
    DNSResolver resolver = DNSJavaResolver.getInstance();
    assertNotNull(resolver);
    DNSUtil.setDNSResolver(resolver);
    xmppServerDomainTest();
}
项目:Smack    文件:DNSJavaResolver.java   
public static DNSResolver getInstance() {
    return instance;
}
项目:Smack    文件:JavaxResolver.java   
public static synchronized DNSResolver getInstance() {
    if (instance == null && isSupported()) {
        instance = new JavaxResolver();
    }
    return instance;
}
项目:Smack    文件:MiniDnsResolver.java   
public static DNSResolver getInstance() {
    return instance;
}
项目:Smack    文件:DNSUtil.java   
/**
 * Set the DNS resolver that should be used to perform DNS lookups.
 *
 * @param resolver
 */
public static void setDNSResolver(DNSResolver resolver) {
    dnsResolver = resolver;
}
项目:Smack    文件:DNSUtil.java   
/**
 * Returns the current DNS resolved used to perform DNS lookups.
 *
 * @return the active DNSResolver
 */
public static DNSResolver getDNSResolver() {
    return dnsResolver;
}
项目:androidPN-client.    文件:DNSUtil.java   
/**
 * Set the DNS resolver that should be used to perform DNS lookups.
 *
 * @param resolver
 */
public static void setDNSResolver(DNSResolver resolver) {
    dnsResolver = resolver;
}
项目:androidPN-client.    文件:DNSUtil.java   
/**
 * Returns the current DNS resolved used to perform DNS lookups.
 *
 * @return
 */
public static DNSResolver getDNSResolver() {
    return dnsResolver;
}
项目:jamppa    文件:DNSUtil.java   
/**
 * Set the DNS resolver that should be used to perform DNS lookups.
 * 
 * @param resolver
 */
public static void setDNSResolver(DNSResolver resolver) {
    dnsResolver = resolver;
}
项目:jamppa    文件:DNSUtil.java   
/**
 * Returns the current DNS resolved used to perform DNS lookups.
 * 
 * @return
 */
public static DNSResolver getDNSResolver() {
    return dnsResolver;
}
项目:java-bells    文件:DNSUtil.java   
/**
 * Set the DNS resolver that should be used to perform DNS lookups.
 *
 * @param resolver
 */
public static void setDNSResolver(DNSResolver resolver) {
    dnsResolver = resolver;
}
项目:java-bells    文件:DNSUtil.java   
/**
 * Returns the current DNS resolved used to perform DNS lookups.
 *
 * @return
 */
public static DNSResolver getDNSResolver() {
    return dnsResolver;
}
项目:asmack-mini    文件:DNSUtil.java   
/**
 * Set the DNS resolver that should be used to perform DNS lookups.
 *
 * @param resolver
 */
public static void setDNSResolver(DNSResolver resolver) {
    dnsResolver = resolver;
}
项目:asmack-mini    文件:DNSUtil.java   
/**
 * Returns the current DNS resolved used to perform DNS lookups.
 *
 * @return
 */
public static DNSResolver getDNSResolver() {
    return dnsResolver;
}