| Package | Description |
|---|---|
| javax.jmdns.impl |
| Modifier and Type | Class | 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 | Description |
|---|---|---|
DNSEntry |
DNSCache.getDNSEntry(String name,
DNSRecordType type,
DNSRecordClass recordClass) |
Get a matching DNS entry from the table.
|
DNSEntry |
DNSCache.getDNSEntry(DNSEntry dnsEntry) |
Get a matching DNS entry from the table (using isSameEntry).
|
| Modifier and Type | Method | Description |
|---|---|---|
Collection<DNSEntry> |
DNSCache.allValues() |
Returns all entries in the cache
|
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.
|
| Modifier and Type | Method | 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 |
DNSEntry.isSameEntry(DNSEntry entry) |
Check if two entries have exactly the same name, type, and class.
|
boolean |
DNSRecord.Pointer.isSameEntry(DNSEntry entry) |
|
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 dnsEntry) |
JmDNS callback to update a DNS record.
|
Copyright © 2002–2018 JmDNS. All rights reserved.