HomeSort by relevance Sort by last modified time
    Searched refs:DNSConstants (Results 1 - 21 of 21) sorted by null

  /external/jmdns/src/javax/jmdns/impl/tasks/
RecordReaper.java 12 import javax.jmdns.impl.constants.DNSConstants;
43 timer.schedule(this, DNSConstants.RECORD_REAPER_INTERVAL, DNSConstants.RECORD_REAPER_INTERVAL);
Responder.java 18 import javax.jmdns.impl.constants.DNSConstants;
39 this._unicast = (port != DNSConstants.MDNS_PORT);
83 int delay = (iAmTheOnlyOne && !_in.isTruncated()) ? 0 : DNSConstants.RESPONSE_MIN_WAIT_INTERVAL + JmDNSImpl.getRandom().nextInt(DNSConstants.RESPONSE_MAX_WAIT_INTERVAL - DNSConstants.RESPONSE_MIN_WAIT_INTERVAL + 1) - _in.elapseSinceArrival();
135 DNSOutgoing out = new DNSOutgoing(DNSConstants.FLAGS_QR_RESPONSE | DNSConstants.FLAGS_AA, !_unicast, _in.getSenderUDPPayload());
DNSTask.java 13 import javax.jmdns.impl.constants.DNSConstants;
88 newOut.setFlags(flags | DNSConstants.FLAGS_TC);
120 newOut.setFlags(flags | DNSConstants.FLAGS_TC);
151 newOut.setFlags(flags | DNSConstants.FLAGS_TC);
181 newOut.setFlags(flags | DNSConstants.FLAGS_TC);
213 newOut.setFlags(flags | DNSConstants.FLAGS_TC);
  /external/jmdns/src/javax/jmdns/impl/tasks/resolver/
DNSResolverTask.java 11 import javax.jmdns.impl.constants.DNSConstants;
50 timer.schedule(this, DNSConstants.QUERY_WAIT_INTERVAL, DNSConstants.QUERY_WAIT_INTERVAL);
68 DNSOutgoing out = new DNSOutgoing(DNSConstants.FLAGS_QR_QUERY);
ServiceResolver.java 14 import javax.jmdns.impl.constants.DNSConstants;
50 newOut = this.addAnswer(newOut, new DNSRecord.Pointer(info.getType(), DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, info.getQualifiedName()), now);
51 // newOut = this.addAnswer(newOut, new DNSRecord.Service(info.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, info.getPriority(), info.getWeight(), info.getPort(),
TypeResolver.java 14 import javax.jmdns.impl.constants.DNSConstants;
53 newOut = this.addAnswer(newOut, new DNSRecord.Pointer("_services._dns-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, typeEntry.getType()), now);
  /external/jmdns/src/javax/jmdns/impl/tasks/state/
Prober.java 16 import javax.jmdns.impl.constants.DNSConstants;
62 if (now - this.getDns().getLastThrottleIncrement() < DNSConstants.PROBE_THROTTLE_COUNT_INTERVAL) {
69 if (this.getDns().isAnnounced() && this.getDns().getThrottle() < DNSConstants.PROBE_THROTTLE_COUNT) {
70 timer.schedule(this, JmDNSImpl.getRandom().nextInt(1 + DNSConstants.PROBE_WAIT_INTERVAL), DNSConstants.PROBE_WAIT_INTERVAL);
72 timer.schedule(this, DNSConstants.PROBE_CONFLICT_INTERVAL, DNSConstants.PROBE_CONFLICT_INTERVAL);
107 return new DNSOutgoing(DNSConstants.FLAGS_QR_QUERY);
Canceler.java 15 import javax.jmdns.impl.constants.DNSConstants;
56 timer.schedule(this, 0, DNSConstants.ANNOUNCE_WAIT_INTERVAL);
94 return new DNSOutgoing(DNSConstants.FLAGS_QR_RESPONSE | DNSConstants.FLAGS_AA);
Announcer.java 15 import javax.jmdns.impl.constants.DNSConstants;
59 timer.schedule(this, DNSConstants.ANNOUNCE_WAIT_INTERVAL, DNSConstants.ANNOUNCE_WAIT_INTERVAL);
94 return new DNSOutgoing(DNSConstants.FLAGS_QR_RESPONSE | DNSConstants.FLAGS_AA);
Renewer.java 15 import javax.jmdns.impl.constants.DNSConstants;
95 return new DNSOutgoing(DNSConstants.FLAGS_QR_RESPONSE | DNSConstants.FLAGS_AA);
DNSStateTask.java 15 import javax.jmdns.impl.constants.DNSConstants;
32 private static int _defaultTTL = DNSConstants.DNS_TTL;
  /external/jmdns/src/javax/jmdns/impl/
SocketListener.java 12 import javax.jmdns.impl.constants.DNSConstants;
37 byte buf[] = new byte[DNSConstants.MAX_MSG_ABSOLUTE];
55 if (packet.getPort() != DNSConstants.MDNS_PORT) {
58 this._jmDNSImpl.handleQuery(msg, this._jmDNSImpl.getGroup(), DNSConstants.MDNS_PORT);
DNSMessage.java 12 import javax.jmdns.impl.constants.DNSConstants;
79 // if ( _data == null ) _data = new byte[DNSConstants.MAX_MSG_TYPICAL];
190 return (_flags & DNSConstants.FLAGS_TC) != 0;
199 return (_flags & DNSConstants.FLAGS_QR_MASK) == DNSConstants.FLAGS_QR_QUERY;
208 return (_flags & DNSConstants.FLAGS_QR_MASK) == DNSConstants.FLAGS_QR_RESPONSE;
DNSQuestion.java 15 import javax.jmdns.impl.constants.DNSConstants;
37 DNSRecord answer = jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL);
61 DNSRecord answer = jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL);
101 answers.add(new DNSRecord.Pointer("_services._dns-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL, typeEntry.getType()));
110 answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_A, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL));
113 answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_AAAA, DNSRecordClass.NOT_UNIQUE, DNSConstants.DNS_TTL));
136 // type = DNSConstants.TYPE_A;
137 answers.addAll(jmDNSImpl.getLocalHost().answers(this.isUnique(), DNSConstants.DNS_TTL));
197 // type = DNSConstants.TYPE_A;
198 answers.addAll(jmDNSImpl.getLocalHost().answers(this.isUnique(), DNSConstants.DNS_TTL))
    [all...]
DNSOutgoing.java 12 import javax.jmdns.impl.constants.DNSConstants;
196 this(flags, true, DNSConstants.MAX_MSG_TYPICAL);
206 this(flags, multicast, DNSConstants.MAX_MSG_TYPICAL);
220 _maxUDPPayload = (senderUDPPayload > 0 ? senderUDPPayload : DNSConstants.MAX_MSG_TYPICAL);
360 return (this.getFlags() & DNSConstants.FLAGS_QR_MASK) == DNSConstants.FLAGS_QR_QUERY;
384 if ((this.getFlags() & DNSConstants.FLAGS_QR_RESPONSE) != 0) {
387 if ((this.getFlags() & DNSConstants.FLAGS_AA) != 0) {
390 if ((this.getFlags() & DNSConstants.FLAGS_TC) != 0) {
JmmDNSImpl.java 34 import javax.jmdns.impl.constants.DNSConstants;
106 executor.awaitTermination(DNSConstants.CLOSE_TIMEOUT, TimeUnit.MILLISECONDS);
172 return this.getServiceInfos(type, name, false, DNSConstants.SERVICE_INFO_TIMEOUT);
190 return this.getServiceInfos(type, name, persistent, DNSConstants.SERVICE_INFO_TIMEOUT);
228 this.requestServiceInfo(type, name, false, DNSConstants.SERVICE_INFO_TIMEOUT);
237 this.requestServiceInfo(type, name, persistent, DNSConstants.SERVICE_INFO_TIMEOUT);
393 return this.list(type, DNSConstants.SERVICE_INFO_TIMEOUT);
431 return this.listBySubtype(type, DNSConstants.SERVICE_INFO_TIMEOUT);
567 timer.schedule(this, 0, DNSConstants.NETWORK_CHECK_INTERVAL);
JmDNSImpl.java 43 import javax.jmdns.impl.constants.DNSConstants;
444 _group = InetAddress.getByName(DNSConstants.MDNS_GROUP_IPV6);
446 _group = InetAddress.getByName(DNSConstants.MDNS_GROUP);
452 _socket = new MulticastSocket(DNSConstants.MDNS_PORT);
711 return this.getServiceInfo(type, name, false, DNSConstants.SERVICE_INFO_TIMEOUT);
727 return this.getServiceInfo(type, name, persistent, DNSConstants.SERVICE_INFO_TIMEOUT);
839 this.requestServiceInfo(type, name, false, DNSConstants.SERVICE_INFO_TIMEOUT);
847 this.requestServiceInfo(type, name, persistent, DNSConstants.SERVICE_INFO_TIMEOUT);
855 this.requestServiceInfo(type, name, false, DNSConstants.SERVICE_INFO_TIMEOUT);
    [all...]
DNSIncoming.java 16 import javax.jmdns.impl.constants.DNSConstants;
184 super(0, 0, packet.getPort() == DNSConstants.MDNS_PORT);
189 this._senderUDPPayload = DNSConstants.MAX_MSG_TYPICAL;
469 if ((this.getFlags() & DNSConstants.FLAGS_QR_RESPONSE) != 0) {
472 if ((this.getFlags() & DNSConstants.FLAGS_AA) != 0) {
475 if ((this.getFlags() & DNSConstants.FLAGS_TC) != 0) {
HostInfo.java 21 import javax.jmdns.impl.constants.DNSConstants;
162 DNSRecord.Address hostAddress = this.getDNSAddressRecord(record.getRecordType(), record.isUnique(), DNSConstants.DNS_TTL);
DNSRecord.java 23 import javax.jmdns.impl.constants.DNSConstants;
165 _ttl = DNSConstants.RECORD_EXPIRY_DELAY;
332 DNSRecord.Address localAddress = dns.getLocalHost().getDNSAddressRecord(this.getRecordType(), this.isUnique(), DNSConstants.DNS_TTL);
728 DNSRecord.Service localService = new DNSRecord.Service(info.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL, info.getPriority(), info.getWeight(), info.getPort(), dns.getLocalHost().getName());
798 return dns.addAnswer(in, addr, port, out, new DNSRecord.Service(info.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL, info.getPriority(), info.getWeight(), info.getPort(), dns
    [all...]
  /external/jmdns/src/javax/jmdns/impl/constants/
DNSConstants.java 12 public final class DNSConstants {

Completed in 910 milliseconds