Ejemplo n.º 1
0
 @Test
 public void xmppServerDomainDNSJavaTest() {
   DNSResolver resolver = DNSJavaResolver.getInstance();
   assertNotNull(resolver);
   DNSUtil.setDNSResolver(resolver);
   xmppServerDomainTest();
 }
Ejemplo n.º 2
0
  static {
    registerSmackProviders();
    DNSUtil.setDNSResolver(DNSJavaResolver.getInstance());

    // initialize smack defaults before any connections are created
    SmackConfiguration.setPacketReplyTimeout(PACKET_TIMEOUT);
    SmackConfiguration.setDefaultPingInterval(0);
  }
Ejemplo n.º 3
0
 static {
   registerSmackProviders();
   DNSUtil.setDNSResolver(DNSJavaResolver.getInstance());
   SmackConfiguration.setPacketReplyTimeout(PACKET_TIMEOUT);
   SmackConfiguration.setDefaultPingInterval(0);
 }