Home
last modified time | relevance | path

Searched refs:DNSRecordClass (Results 1 – 17 of 17) sorted by relevance

/external/jmdns/src/javax/jmdns/impl/tasks/resolver/
DServiceInfoResolver.java14 import javax.jmdns.impl.constants.DNSRecordClass;
30 …uestion(info.getQualifiedName(), DNSRecordType.TYPE_ANY, DNSRecordClass.CLASS_IN, DNSRecordClass.N… in ServiceInfoResolver()
65 …ache().getDNSEntry(_info.getQualifiedName(), DNSRecordType.TYPE_SRV, DNSRecordClass.CLASS_IN), now… in addAnswers()
66 …ache().getDNSEntry(_info.getQualifiedName(), DNSRecordType.TYPE_TXT, DNSRecordClass.CLASS_IN), now… in addAnswers()
68 …ns().getCache().getDNSEntry(_info.getServer(), DNSRecordType.TYPE_A, DNSRecordClass.CLASS_IN), now… in addAnswers()
69 …).getCache().getDNSEntry(_info.getServer(), DNSRecordType.TYPE_AAAA, DNSRecordClass.CLASS_IN), now… in addAnswers()
83 …estion(_info.getQualifiedName(), DNSRecordType.TYPE_SRV, DNSRecordClass.CLASS_IN, DNSRecordClass.N… in addQuestions()
84 …estion(_info.getQualifiedName(), DNSRecordType.TYPE_TXT, DNSRecordClass.CLASS_IN, DNSRecordClass.N… in addQuestions()
86 …ion.newQuestion(_info.getServer(), DNSRecordType.TYPE_A, DNSRecordClass.CLASS_IN, DNSRecordClass.N… in addQuestions()
87 ….newQuestion(_info.getServer(), DNSRecordType.TYPE_AAAA, DNSRecordClass.CLASS_IN, DNSRecordClass.N… in addQuestions()
DTypeResolver.java15 import javax.jmdns.impl.constants.DNSRecordClass;
53 …, new DNSRecord.Pointer("_services._dns-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRecordClass.N… in addAnswers()
64 …"_services._dns-sd._udp.local.", DNSRecordType.TYPE_PTR, DNSRecordClass.CLASS_IN, DNSRecordClass.N… in addQuestions()
DServiceResolver.java15 import javax.jmdns.impl.constants.DNSRecordClass;
50 ….addAnswer(newOut, new DNSRecord.Pointer(info.getType(), DNSRecordClass.CLASS_IN, DNSRecordClass.N… in addAnswers()
64 …, DNSQuestion.newQuestion(_type, DNSRecordType.TYPE_PTR, DNSRecordClass.CLASS_IN, DNSRecordClass.N… in addQuestions()
/external/jmdns/src/javax/jmdns/impl/constants/
DDNSRecordClass.java14 public enum DNSRecordClass { enum
44 private static Logger logger = Logger.getLogger(DNSRecordClass.class.getName());
72 DNSRecordClass(String name, int index) { in DNSRecordClass() method in DNSRecordClass
109 public static DNSRecordClass classForName(String name) { in classForName()
112 for (DNSRecordClass aClass : DNSRecordClass.values()) { in classForName()
124 public static DNSRecordClass classForIndex(int index) { in classForIndex()
126 for (DNSRecordClass aClass : DNSRecordClass.values()) { in classForIndex()
/external/jmdns/src/javax/jmdns/impl/
DDNSQuestion.java16 import javax.jmdns.impl.constants.DNSRecordClass;
31 DNS4Address(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) { in DNS4Address()
37 …= jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordClass.UNIQUE, DNSCon… in addAnswers()
55 DNS6Address(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) { in DNS6Address()
61 …= jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordClass.UNIQUE, DNSCon… in addAnswers()
79 … HostInformation(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) { in HostInformation()
88 Pointer(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) { in Pointer()
101 …d(new DNSRecord.Pointer("_services._dns-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRecordClass.N… in addAnswers()
110 …Impl.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_A, DNSRecordClass.NOT_UNIQUE, DN… in addAnswers()
113 …l.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_AAAA, DNSRecordClass.NOT_UNIQUE, DN… in addAnswers()
[all …]
DDNSEntry.java14 import javax.jmdns.impl.constants.DNSRecordClass;
32 private final DNSRecordClass _dnsClass;
41 DNSEntry(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) { in DNSEntry()
77 …getKey()) && this.getRecordType().equals(entry.getRecordType()) && ((DNSRecordClass.CLASS_ANY == e… in isSameEntry()
135 public DNSRecordClass getRecordClass() { in getRecordClass()
136 return (_dnsClass != null ? _dnsClass : DNSRecordClass.CLASS_UNKNOWN); in getRecordClass()
DDNSRecord.java24 import javax.jmdns.impl.constants.DNSRecordClass;
45 … DNSRecord(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique, int ttl) { in DNSRecord()
175 … IPv4Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, InetAddress addr) { in IPv4Address()
179 … IPv4Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, byte[] rawAddress) { in IPv4Address()
217 … IPv6Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, InetAddress addr) { in IPv6Address()
221 … IPv6Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, byte[] rawAddress) { in IPv6Address()
268 …protected Address(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique, int… in Address()
273 …protected Address(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique, int… in Address()
429 … public Pointer(String name, DNSRecordClass recordClass, boolean unique, int ttl, String alias) { in Pointer()
540 public Text(String name, DNSRecordClass recordClass, boolean unique, int ttl, byte text[]) { in Text()
[all …]
DHostInfo.java22 import javax.jmdns.impl.constants.DNSRecordClass;
212 …return new DNSRecord.IPv4Address(this.getName(), DNSRecordClass.CLASS_IN, unique, ttl, this.getIne… in getDNS4AddressRecord()
219 …return new DNSRecord.IPv6Address(this.getName(), DNSRecordClass.CLASS_IN, unique, ttl, this.getIne… in getDNS6AddressRecord()
238 …d.Pointer(this.getInetAddress().getHostAddress() + ".in-addr.arpa.", DNSRecordClass.CLASS_IN, uniq… in getDNS4ReverseAddressRecord()
243 …return new DNSRecord.Pointer(address + ".in-addr.arpa.", DNSRecordClass.CLASS_IN, unique, ttl, thi… in getDNS4ReverseAddressRecord()
250 …ecord.Pointer(this.getInetAddress().getHostAddress() + ".ip6.arpa.", DNSRecordClass.CLASS_IN, uniq… in getDNS6ReverseAddressRecord()
DDNSIncoming.java19 import javax.jmdns.impl.constants.DNSRecordClass;
277 DNSRecordClass recordClass = DNSRecordClass.classForIndex(recordClassIndex); in readQuestion()
289DNSRecordClass recordClass = (type == DNSRecordType.TYPE_OPT ? DNSRecordClass.CLASS_UNKNOWN : DNSR… in readAnswer()
290 if ((recordClass == DNSRecordClass.CLASS_UNKNOWN) && (type != DNSRecordType.TYPE_OPT)) { in readAnswer()
DDNSCache.java17 import javax.jmdns.impl.constants.DNSRecordClass;
407 …public synchronized DNSEntry getDNSEntry(String name, DNSRecordType type, DNSRecordClass recordCla… in getDNSEntry()
412 …if (testDNSEntry.getRecordType().equals(type) && ((DNSRecordClass.CLASS_ANY == recordClass) || tes… in getDNSEntry()
429 …<? extends DNSEntry> getDNSEntryList(String name, DNSRecordType type, DNSRecordClass recordClass) { in getDNSEntryList()
435 …if (!testDNSEntry.getRecordType().equals(type) || ((DNSRecordClass.CLASS_ANY != recordClass) && !t… in getDNSEntryList()
DServiceInfoImpl.java32 import javax.jmdns.impl.constants.DNSRecordClass;
892 …NSEntry entry : dnsCache.getDNSEntryList(_server, DNSRecordType.TYPE_A, DNSRecordClass.CLASS_IN)) { in updateRecord()
895 …ntry entry : dnsCache.getDNSEntryList(_server, DNSRecordType.TYPE_AAAA, DNSRecordClass.CLASS_IN)) { in updateRecord()
1193 …list.add(new Pointer(this.getTypeWithSubtype(), DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE… in answers()
1195 …list.add(new Pointer(this.getType(), DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, ttl, this… in answers()
1196 …list.add(new Service(this.getQualifiedName(), DNSRecordClass.CLASS_IN, unique, ttl, _priority, _we… in answers()
1197 …list.add(new Text(this.getQualifiedName(), DNSRecordClass.CLASS_IN, unique, ttl, this.getTextBytes… in answers()
DDNSOutgoing.java13 import javax.jmdns.impl.constants.DNSRecordClass;
157 …cordClass().indexValue() | ((rec.isUnique() && _out.isMulticast()) ? DNSRecordClass.CLASS_UNIQUE :… in writeRecord()
DJmDNSImpl.java44 import javax.jmdns.impl.constants.DNSRecordClass;
759 …interEntry = this.getCache().getDNSEntry(new DNSRecord.Pointer(type, DNSRecordClass.CLASS_ANY, fal… in getServiceInfoFromCache()
768 ….getCache().getDNSEntry(info.getQualifiedName(), DNSRecordType.TYPE_SRV, DNSRecordClass.CLASS_ANY); in getServiceInfoFromCache()
777 …addressEntry = this.getCache().getDNSEntry(server, DNSRecordType.TYPE_A, DNSRecordClass.CLASS_ANY); in getServiceInfoFromCache()
787 …ressEntry = this.getCache().getDNSEntry(server, DNSRecordType.TYPE_AAAA, DNSRecordClass.CLASS_ANY); in getServiceInfoFromCache()
797 …che().getDNSEntry(cachedInfo.getQualifiedName(), DNSRecordType.TYPE_TXT, DNSRecordClass.CLASS_ANY); in getServiceInfoFromCache()
/external/jmdns/src/javax/jmdns/impl/tasks/state/
DProber.java17 import javax.jmdns.impl.constants.DNSRecordClass;
117 …tDns().getLocalHost().getName(), DNSRecordType.TYPE_ANY, DNSRecordClass.CLASS_IN, DNSRecordClass.N… in buildOutgoingForDNS()
118 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.NOT_UNIQUE, this.getTT… in buildOutgoingForDNS()
131 …uestion(info.getQualifiedName(), DNSRecordType.TYPE_ANY, DNSRecordClass.CLASS_IN, DNSRecordClass.N… in buildOutgoingForInfo()
133 …r(newOut, new DNSRecord.Service(info.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.N… in buildOutgoingForInfo()
DCanceler.java16 import javax.jmdns.impl.constants.DNSRecordClass;
104 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())… in buildOutgoingForDNS()
117 …for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalH… in buildOutgoingForInfo()
DAnnouncer.java16 import javax.jmdns.impl.constants.DNSRecordClass;
104 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())… in buildOutgoingForDNS()
117 …for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalH… in buildOutgoingForInfo()
DRenewer.java16 import javax.jmdns.impl.constants.DNSRecordClass;
105 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())… in buildOutgoingForDNS()
118 …for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalH… in buildOutgoingForInfo()