Home
last modified time | relevance | path

Searched refs:DNSConstants (Results 1 – 21 of 21) sorted by relevance

/external/jmdns/src/javax/jmdns/impl/tasks/state/
DProber.java16 import javax.jmdns.impl.constants.DNSConstants;
62 … if (now - this.getDns().getLastThrottleIncrement() < DNSConstants.PROBE_THROTTLE_COUNT_INTERVAL) { in start()
69 …if (this.getDns().isAnnounced() && this.getDns().getThrottle() < DNSConstants.PROBE_THROTTLE_COUNT… in start()
70 …mer.schedule(this, JmDNSImpl.getRandom().nextInt(1 + DNSConstants.PROBE_WAIT_INTERVAL), DNSConstan… in start()
72 … timer.schedule(this, DNSConstants.PROBE_CONFLICT_INTERVAL, DNSConstants.PROBE_CONFLICT_INTERVAL); in start()
107 return new DNSOutgoing(DNSConstants.FLAGS_QR_QUERY); in createOugoing()
DAnnouncer.java15 import javax.jmdns.impl.constants.DNSConstants;
59 … timer.schedule(this, DNSConstants.ANNOUNCE_WAIT_INTERVAL, DNSConstants.ANNOUNCE_WAIT_INTERVAL); in start()
94 return new DNSOutgoing(DNSConstants.FLAGS_QR_RESPONSE | DNSConstants.FLAGS_AA); in createOugoing()
DCanceler.java15 import javax.jmdns.impl.constants.DNSConstants;
56 timer.schedule(this, 0, DNSConstants.ANNOUNCE_WAIT_INTERVAL); in start()
94 return new DNSOutgoing(DNSConstants.FLAGS_QR_RESPONSE | DNSConstants.FLAGS_AA); in createOugoing()
DRenewer.java15 import javax.jmdns.impl.constants.DNSConstants;
95 return new DNSOutgoing(DNSConstants.FLAGS_QR_RESPONSE | DNSConstants.FLAGS_AA); in createOugoing()
DDNSStateTask.java15 import javax.jmdns.impl.constants.DNSConstants;
32 private static int _defaultTTL = DNSConstants.DNS_TTL;
/external/jmdns/src/javax/jmdns/impl/tasks/
DResponder.java18 import javax.jmdns.impl.constants.DNSConstants;
39 this._unicast = (port != DNSConstants.MDNS_PORT); in Responder()
83 …ted()) ? 0 : DNSConstants.RESPONSE_MIN_WAIT_INTERVAL + JmDNSImpl.getRandom().nextInt(DNSConstants.… in start()
135 …DNSOutgoing out = new DNSOutgoing(DNSConstants.FLAGS_QR_RESPONSE | DNSConstants.FLAGS_AA, !_unicas… in run()
DDNSTask.java13 import javax.jmdns.impl.constants.DNSConstants;
88 newOut.setFlags(flags | DNSConstants.FLAGS_TC); in addQuestion()
120 newOut.setFlags(flags | DNSConstants.FLAGS_TC); in addAnswer()
151 newOut.setFlags(flags | DNSConstants.FLAGS_TC); in addAnswer()
181 newOut.setFlags(flags | DNSConstants.FLAGS_TC); in addAuthoritativeAnswer()
213 newOut.setFlags(flags | DNSConstants.FLAGS_TC); in addAdditionalAnswer()
DRecordReaper.java12 import javax.jmdns.impl.constants.DNSConstants;
43 … timer.schedule(this, DNSConstants.RECORD_REAPER_INTERVAL, DNSConstants.RECORD_REAPER_INTERVAL); in start()
/external/jmdns/src/javax/jmdns/impl/
DDNSQuestion.java15 import javax.jmdns.impl.constants.DNSConstants;
37 …LocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL); in addAnswers()
61 …LocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL); in addAnswers()
101 …-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, typeEn… in addAnswers()
110 …getDNSReverseAddressRecord(DNSRecordType.TYPE_A, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL)); in addAnswers()
113 …DNSReverseAddressRecord(DNSRecordType.TYPE_AAAA, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL)); in addAnswers()
137 … answers.addAll(jmDNSImpl.getLocalHost().answers(this.isUnique(), DNSConstants.DNS_TTL)); in addAnswers()
198 … answers.addAll(jmDNSImpl.getLocalHost().answers(this.isUnique(), DNSConstants.DNS_TTL)); in addAnswers()
281 … answers.addAll(jmDNSImpl.getLocalHost().answers(DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL)); in addAnswersForServiceInfo()
282 …answers.addAll(info.answers(DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL, jmDNSImpl.getLocalHost())… in addAnswersForServiceInfo()
DDNSMessage.java12 import javax.jmdns.impl.constants.DNSConstants;
190 return (_flags & DNSConstants.FLAGS_TC) != 0; in isTruncated()
199 return (_flags & DNSConstants.FLAGS_QR_MASK) == DNSConstants.FLAGS_QR_QUERY; in isQuery()
208 return (_flags & DNSConstants.FLAGS_QR_MASK) == DNSConstants.FLAGS_QR_RESPONSE; in isResponse()
DDNSOutgoing.java12 import javax.jmdns.impl.constants.DNSConstants;
196 this(flags, true, DNSConstants.MAX_MSG_TYPICAL); in DNSOutgoing()
206 this(flags, multicast, DNSConstants.MAX_MSG_TYPICAL); in DNSOutgoing()
220 _maxUDPPayload = (senderUDPPayload > 0 ? senderUDPPayload : DNSConstants.MAX_MSG_TYPICAL); in DNSOutgoing()
360 return (this.getFlags() & DNSConstants.FLAGS_QR_MASK) == DNSConstants.FLAGS_QR_QUERY; in isQuery()
384 if ((this.getFlags() & DNSConstants.FLAGS_QR_RESPONSE) != 0) { in toString()
387 if ((this.getFlags() & DNSConstants.FLAGS_AA) != 0) { in toString()
390 if ((this.getFlags() & DNSConstants.FLAGS_TC) != 0) { in toString()
DSocketListener.java12 import javax.jmdns.impl.constants.DNSConstants;
37 byte buf[] = new byte[DNSConstants.MAX_MSG_ABSOLUTE]; in run()
55 if (packet.getPort() != DNSConstants.MDNS_PORT) { in run()
58 … this._jmDNSImpl.handleQuery(msg, this._jmDNSImpl.getGroup(), DNSConstants.MDNS_PORT); in run()
DJmmDNSImpl.java34 import javax.jmdns.impl.constants.DNSConstants;
106 executor.awaitTermination(DNSConstants.CLOSE_TIMEOUT, TimeUnit.MILLISECONDS); in close()
172 return this.getServiceInfos(type, name, false, DNSConstants.SERVICE_INFO_TIMEOUT); in getServiceInfos()
190 return this.getServiceInfos(type, name, persistent, DNSConstants.SERVICE_INFO_TIMEOUT); in getServiceInfos()
228 this.requestServiceInfo(type, name, false, DNSConstants.SERVICE_INFO_TIMEOUT); in requestServiceInfo()
237 this.requestServiceInfo(type, name, persistent, DNSConstants.SERVICE_INFO_TIMEOUT); in requestServiceInfo()
393 return this.list(type, DNSConstants.SERVICE_INFO_TIMEOUT); in list()
431 return this.listBySubtype(type, DNSConstants.SERVICE_INFO_TIMEOUT); in listBySubtype()
567 timer.schedule(this, 0, DNSConstants.NETWORK_CHECK_INTERVAL); in start()
DJmDNSImpl.java43 import javax.jmdns.impl.constants.DNSConstants;
444 _group = InetAddress.getByName(DNSConstants.MDNS_GROUP_IPV6); in openMulticastSocket()
446 _group = InetAddress.getByName(DNSConstants.MDNS_GROUP); in openMulticastSocket()
452 _socket = new MulticastSocket(DNSConstants.MDNS_PORT); in openMulticastSocket()
711 return this.getServiceInfo(type, name, false, DNSConstants.SERVICE_INFO_TIMEOUT); in getServiceInfo()
727 return this.getServiceInfo(type, name, persistent, DNSConstants.SERVICE_INFO_TIMEOUT); in getServiceInfo()
839 this.requestServiceInfo(type, name, false, DNSConstants.SERVICE_INFO_TIMEOUT); in requestServiceInfo()
847 this.requestServiceInfo(type, name, persistent, DNSConstants.SERVICE_INFO_TIMEOUT); in requestServiceInfo()
855 this.requestServiceInfo(type, name, false, DNSConstants.SERVICE_INFO_TIMEOUT); in requestServiceInfo()
1008 this.waitForAnnounced(DNSConstants.SERVICE_INFO_TIMEOUT); in registerService()
[all …]
DDNSIncoming.java16 import javax.jmdns.impl.constants.DNSConstants;
184 super(0, 0, packet.getPort() == DNSConstants.MDNS_PORT); in DNSIncoming()
189 this._senderUDPPayload = DNSConstants.MAX_MSG_TYPICAL; in DNSIncoming()
469 if ((this.getFlags() & DNSConstants.FLAGS_QR_RESPONSE) != 0) { in toString()
472 if ((this.getFlags() & DNSConstants.FLAGS_AA) != 0) { in toString()
475 if ((this.getFlags() & DNSConstants.FLAGS_TC) != 0) { in toString()
DDNSRecord.java23 import javax.jmdns.impl.constants.DNSConstants;
165 _ttl = DNSConstants.RECORD_EXPIRY_DELAY; in setWillExpireSoon()
332 …ns.getLocalHost().getDNSAddressRecord(this.getRecordType(), this.isUnique(), DNSConstants.DNS_TTL); in handleQuery()
728 …o.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL, info.g… in handleQuery()
798 …o.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL, info.g… in addAnswer()
DHostInfo.java21 import javax.jmdns.impl.constants.DNSConstants;
162 …ddress = this.getDNSAddressRecord(record.getRecordType(), record.isUnique(), DNSConstants.DNS_TTL); in conflictWithRecord()
/external/jmdns/src/javax/jmdns/impl/tasks/resolver/
DDNSResolverTask.java11 import javax.jmdns.impl.constants.DNSConstants;
50 … timer.schedule(this, DNSConstants.QUERY_WAIT_INTERVAL, DNSConstants.QUERY_WAIT_INTERVAL); in start()
68 DNSOutgoing out = new DNSOutgoing(DNSConstants.FLAGS_QR_QUERY); in run()
DTypeResolver.java14 import javax.jmdns.impl.constants.DNSConstants;
53 …-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, typeEn… in addAnswers()
DServiceResolver.java14 import javax.jmdns.impl.constants.DNSConstants;
50 …r(info.getType(), DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, info.g… in addAnswers()
/external/jmdns/src/javax/jmdns/impl/constants/
DDNSConstants.java12 public final class DNSConstants { class