@Test public void xmppServerDomainDNSJavaTest() { DNSResolver resolver = DNSJavaResolver.getInstance(); assertNotNull(resolver); DNSUtil.setDNSResolver(resolver); xmppServerDomainTest(); }
static { registerSmackProviders(); DNSUtil.setDNSResolver(DNSJavaResolver.getInstance()); // initialize smack defaults before any connections are created SmackConfiguration.setPacketReplyTimeout(PACKET_TIMEOUT); SmackConfiguration.setDefaultPingInterval(0); }
static { registerSmackProviders(); DNSUtil.setDNSResolver(DNSJavaResolver.getInstance()); SmackConfiguration.setPacketReplyTimeout(PACKET_TIMEOUT); SmackConfiguration.setDefaultPingInterval(0); }