Home
last modified time | relevance | path

Searched refs:dnsEntry (Results 1 – 2 of 2) sorted by relevance

/external/jmdns/src/javax/jmdns/impl/
DDNSCache.java383 public synchronized DNSEntry getDNSEntry(DNSEntry dnsEntry) { in getDNSEntry() argument
385 if (dnsEntry != null) { in getDNSEntry()
386 Collection<? extends DNSEntry> entryList = this._getDNSEntryList(dnsEntry.getKey()); in getDNSEntry()
389 if (testDNSEntry.isSameEntry(dnsEntry)) { in getDNSEntry()
451 public synchronized boolean addDNSEntry(final DNSEntry dnsEntry) { in addDNSEntry() argument
453 if (dnsEntry != null) { in addDNSEntry()
454 Map.Entry<String, List<? extends DNSEntry>> oldEntry = this.getEntry(dnsEntry.getKey()); in addDNSEntry()
462 aNewValue.add(dnsEntry); in addDNSEntry()
467 this.entrySet().add(new _CacheEntry(dnsEntry.getKey(), aNewValue)); in addDNSEntry()
481 public synchronized boolean removeDNSEntry(DNSEntry dnsEntry) { in removeDNSEntry() argument
[all …]
DJmDNSImpl.java1149 for (DNSEntry dnsEntry : this.getCache().getDNSEntryList(info.getKey())) { in makeServiceNameUnique()
1150 … if (DNSRecordType.TYPE_SRV.equals(dnsEntry.getRecordType()) && !dnsEntry.isExpired(now)) { in makeServiceNameUnique()
1151 final DNSRecord.Service s = (DNSRecord.Service) dnsEntry; in makeServiceNameUnique()
1154 …("makeServiceNameUnique() JmDNS.makeServiceNameUnique srv collision:" + dnsEntry + " s.server=" + … in makeServiceNameUnique()
1208 … for (DNSEntry dnsEntry : this.getCache().getDNSEntryList(question.getName().toLowerCase())) { in addListener()
1209 if (question.answeredBy(dnsEntry) && !dnsEntry.isExpired(now)) { in addListener()
1210 listener.updateRecord(this.getCache(), now, dnsEntry); in addListener() local