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

项目: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();
}
项目:androidPN-client.    文件:SmackAndroid.java   
private SmackAndroid(Context ctx) {
    mCtx = ctx;
    DNSUtil.setDNSResolver(DNSJavaResolver.getInstance());
    InitStaticCode.initStaticCode(ctx);
    ConfigureProviderManager.configureProviderManager();
    maybeRegisterReceiver();
}
项目:asmack-mini    文件:SmackAndroid.java   
private SmackAndroid(Context ctx) {
    mCtx = ctx;
    DNSUtil.setDNSResolver(DNSJavaResolver.getInstance());
    InitStaticCode.initStaticCode(ctx);
    ConfigureProviderManager.configureProviderManager();
    maybeRegisterReceiver();
}