if (dns.host.sameName(this) && ! dns.host.sameValue(this)) { if (dns.debug > 1) System.out.println("JmDNS DNSRecord.Address.handleResponse() Denial detected"); if (dns.getState().isProbing()) { dns.host.name = dns.incrementHostName(dns.host.getName()); dns.getCache().clear(); for (Iterator i=dns.services.values().iterator(); i.hasNext(); ) { ServiceInfo info = (ServiceInfo) i.next(); info.revertState();
DNSRecord.Address dnsAddress = dns.getLocalHost().getDNSAddressRecord(this); if (dnsAddress != null) { if ( dnsAddress.sameType(this) && dnsAddress.sameName(this) && (! dnsAddress.sameValue(this) ) ) { logger.finer("handleResponse() Denial detected");  if (dns.getState().isProbing()) { dns.getLocalHost().incrementHostName(); dns.getCache().clear(); for (Iterator i=dns.services.values().iterator(); i.hasNext(); ) { ServiceInfo info = (ServiceInfo) i.next(); info.revertState(); }
        boolean handleResponse(JmDNS dns) {            if (dns.host.sameName(this) && ! dns.host.sameValue(this)) {                if (dns.debug > 1) System.out.println("JmDNS DNSRecord.Address.handleResponse() Denial detected");                if (dns.getState().isProbing()) {                    dns.host.name = dns.incrementHostName(dns.host.getName());                    dns.getCache().clear();                    for (Iterator i=dns.services.values().iterator(); i.hasNext(); ) {                        ServiceInfo info = (ServiceInfo) i.next();                        info.revertState();                    }                }                dns.revertState();                                return true;            }            return false;        }