Package | Description |
---|---|
javax.jmdns.impl |
Modifier and Type | Class and Description |
---|---|
class |
DNSQuestion
A DNS question.
|
class |
DNSRecord
DNS record
|
static class |
DNSRecord.Address
Address record.
|
static class |
DNSRecord.HostInformation |
static class |
DNSRecord.IPv4Address |
static class |
DNSRecord.IPv6Address |
static class |
DNSRecord.Pointer
Pointer record.
|
static class |
DNSRecord.Service
Service record.
|
static class |
DNSRecord.Text |
Modifier and Type | Method and Description |
---|---|
DNSEntry |
DNSCache.getDNSEntry(DNSEntry dnsEntry)
Get a matching DNS entry from the table (using isSameEntry).
|
DNSEntry |
DNSCache.getDNSEntry(String name,
DNSRecordType type,
DNSRecordClass recordClass)
Get a matching DNS entry from the table.
|
Modifier and Type | Method and Description |
---|---|
Collection<DNSEntry> |
DNSCache.allValues()
Returns all entries in the cache
|
Set<Map.Entry<String,List<? extends DNSEntry>>> |
DNSCache.entrySet() |
Collection<? extends DNSEntry> |
DNSCache.getDNSEntryList(String name)
Iterate only over items with matching name.
|
Collection<? extends DNSEntry> |
DNSCache.getDNSEntryList(String name,
DNSRecordType type,
DNSRecordClass recordClass)
Get all matching DNS entries from the table.
|
protected Map.Entry<String,List<? extends DNSEntry>> |
DNSCache.getEntry(String key) |
List<? extends DNSEntry> |
DNSCache._CacheEntry.getValue() |
List<? extends DNSEntry> |
DNSCache.put(String key,
List<? extends DNSEntry> value) |
List<? extends DNSEntry> |
DNSCache._CacheEntry.setValue(List<? extends DNSEntry> value) |
Modifier and Type | Method and Description |
---|---|
boolean |
DNSCache.addDNSEntry(DNSEntry dnsEntry)
Adds an entry to the table.
|
int |
DNSEntry.compareTo(DNSEntry that)
Does a lexicographic comparison of the byte array representation of this record and that record.
|
DNSEntry |
DNSCache.getDNSEntry(DNSEntry dnsEntry)
Get a matching DNS entry from the table (using isSameEntry).
|
boolean |
DNSRecord.Pointer.isSameEntry(DNSEntry entry) |
boolean |
DNSEntry.isSameEntry(DNSEntry entry)
Check if two entries have exactly the same name, type, and class.
|
boolean |
DNSEntry.isSameRecordClass(DNSEntry entry)
Check that 2 entries are of the same class.
|
boolean |
DNSEntry.isSameType(DNSEntry entry)
Check that 2 entries are of the same type.
|
boolean |
DNSCache.removeDNSEntry(DNSEntry dnsEntry)
Removes a specific entry from the table.
|
boolean |
DNSCache.replaceDNSEntry(DNSEntry newDNSEntry,
DNSEntry existingDNSEntry)
Replace an existing entry by a new one.
Note: the 2 entries must have the same key. |
boolean |
DNSEntry.sameSubtype(DNSEntry other)
Check if two entries have the same subtype.
|
void |
ServiceInfoImpl.updateRecord(DNSCache dnsCache,
long now,
DNSEntry rec)
JmDNS callback to update a DNS record.
|
Modifier and Type | Method and Description |
---|---|
List<? extends DNSEntry> |
DNSCache.put(String key,
List<? extends DNSEntry> value) |
List<? extends DNSEntry> |
DNSCache._CacheEntry.setValue(List<? extends DNSEntry> value) |
Constructor and Description |
---|
_CacheEntry(Map.Entry<String,List<? extends DNSEntry>> entry) |
_CacheEntry(String key,
List<? extends DNSEntry> value) |
Copyright © 2002–2015 JmDNS. All rights reserved.