Uses of Class
javax.jmdns.impl.DNSRecord
-
Packages that use DNSRecord Package Description javax.jmdns.impl javax.jmdns.impl.tasks -
-
Uses of DNSRecord in javax.jmdns.impl
Subclasses of DNSRecord in javax.jmdns.impl Modifier and Type Class Description 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
Fields in javax.jmdns.impl with type parameters of type DNSRecord Modifier and Type Field Description protected java.util.List<DNSRecord>
DNSMessage. _additionals
protected java.util.List<DNSRecord>
DNSMessage. _answers
protected java.util.List<DNSRecord>
DNSMessage. _authoritativeAnswers
Methods in javax.jmdns.impl that return DNSRecord Modifier and Type Method Description private DNSRecord
DNSIncoming. readAnswer(java.net.InetAddress source)
Methods in javax.jmdns.impl that return types with arguments of type DNSRecord Modifier and Type Method Description java.util.Collection<DNSRecord>
HostInfo. answers(DNSRecordClass recordClass, boolean unique, int ttl)
java.util.Collection<DNSRecord>
ServiceInfoImpl. answers(DNSRecordClass recordClass, boolean unique, int ttl, HostInfo localHost)
Create a series of answer that correspond with the give service info.private java.util.List<DNSRecord>
JmDNSImpl. aRecordsLast(java.util.List<DNSRecord> allAnswers)
In case the a record is received before the srv record the ip address would not be set.java.util.Collection<? extends DNSRecord>
DNSMessage. getAdditionals()
java.util.List<DNSRecord>
DNSMessage. getAllAnswers()
java.util.Collection<? extends DNSRecord>
DNSMessage. getAnswers()
java.util.Collection<? extends DNSRecord>
DNSMessage. getAuthorities()
Methods in javax.jmdns.impl with parameters of type DNSRecord Modifier and Type Method Description void
DNSOutgoing. addAdditionalAnswer(DNSIncoming in, DNSRecord rec)
Add an additional answer to the record.void
DNSOutgoing. addAnswer(DNSIncoming in, DNSRecord rec)
Add an answer if it is not suppressed.void
DNSOutgoing. addAnswer(DNSRecord rec, long now)
Add an answer to the message.DNSOutgoing
JmDNSImpl. addAnswer(DNSIncoming in, java.net.InetAddress addr, int port, DNSOutgoing out, DNSRecord rec)
Add an answer to a question.void
DNSOutgoing. addAuthorativeAnswer(DNSRecord rec)
Add an authoritative answer to the message.private boolean
ServiceInfoImpl. handleExpiredRecord(DNSRecord record)
Handles expired records insofar that it removes their content from this service.(package private) void
JmDNSImpl. handleRecord(DNSRecord record, long now)
private boolean
ServiceInfoImpl. handleUpdateRecord(DNSCache dnsCache, long now, DNSRecord record)
Adds data ofDNSRecord
to the internal service representation.private boolean
JmDNSImpl. isOlderThanOneSecond(DNSRecord dnsRecord, long timeToCompare)
(package private) void
DNSRecord. resetTTL(DNSRecord other)
Reset the TTL of a record.(package private) boolean
DNSRecord.Address. same(DNSRecord other)
(package private) boolean
DNSRecord.Address. sameName(DNSRecord other)
(package private) boolean
DNSRecord. sameType(DNSRecord other)
True if this record has the same type as some other record.(package private) boolean
DNSRecord.Address. sameValue(DNSRecord other)
(package private) boolean
DNSRecord.HostInformation. sameValue(DNSRecord other)
(package private) boolean
DNSRecord.Pointer. sameValue(DNSRecord other)
(package private) abstract boolean
DNSRecord. sameValue(DNSRecord other)
True if this record has the same value as some other record.(package private) boolean
DNSRecord.Service. sameValue(DNSRecord other)
(package private) boolean
DNSRecord.Text. sameValue(DNSRecord other)
(package private) boolean
DNSRecord. suppressedBy(DNSRecord other)
True if this record would be suppressed by an answer.void
JmDNSImpl. updateRecord(long now, DNSRecord rec, JmDNSImpl.Operation operation)
Notify all listeners that a record was updated.(package private) void
DNSOutgoing.MessageOutputStream. writeRecord(DNSRecord rec, long now)
Method parameters in javax.jmdns.impl with type arguments of type DNSRecord Modifier and Type Method Description void
DNSQuestion. addAnswers(JmDNSImpl jmDNSImpl, java.util.Set<DNSRecord> answers)
Adds answers to the list for our question.void
DNSQuestion.AllRecords. addAnswers(JmDNSImpl jmDNSImpl, java.util.Set<DNSRecord> answers)
void
DNSQuestion.DNS4Address. addAnswers(JmDNSImpl jmDNSImpl, java.util.Set<DNSRecord> answers)
void
DNSQuestion.DNS6Address. addAnswers(JmDNSImpl jmDNSImpl, java.util.Set<DNSRecord> answers)
void
DNSQuestion.Pointer. addAnswers(JmDNSImpl jmDNSImpl, java.util.Set<DNSRecord> answers)
void
DNSQuestion.Service. addAnswers(JmDNSImpl jmDNSImpl, java.util.Set<DNSRecord> answers)
void
DNSQuestion.Text. addAnswers(JmDNSImpl jmDNSImpl, java.util.Set<DNSRecord> answers)
protected void
DNSQuestion. addAnswersForServiceInfo(JmDNSImpl jmDNSImpl, java.util.Set<DNSRecord> answers, ServiceInfoImpl info)
private java.util.List<DNSRecord>
JmDNSImpl. aRecordsLast(java.util.List<DNSRecord> allAnswers)
In case the a record is received before the srv record the ip address would not be set. -
Uses of DNSRecord in javax.jmdns.impl.tasks
Methods in javax.jmdns.impl.tasks with parameters of type DNSRecord Modifier and Type Method Description DNSOutgoing
DNSTask. addAdditionalAnswer(DNSOutgoing out, DNSIncoming in, DNSRecord rec)
Add an additional answer to the record.DNSOutgoing
DNSTask. addAnswer(DNSOutgoing out, DNSIncoming in, DNSRecord rec)
Add an answer if it is not suppressed.DNSOutgoing
DNSTask. addAnswer(DNSOutgoing out, DNSRecord rec, long now)
Add an answer to the message.DNSOutgoing
DNSTask. addAuthoritativeAnswer(DNSOutgoing out, DNSRecord rec)
Add an authoritative answer to the message.
-