Home
last modified time | relevance | path

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

/external/jmdns/src/javax/jmdns/impl/tasks/state/
DProber.java43 return "Prober(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; in getName()
62 … if (now - this.getDns().getLastThrottleIncrement() < DNSConstants.PROBE_THROTTLE_COUNT_INTERVAL) { in start()
63 this.getDns().setThrottle(this.getDns().getThrottle() + 1); in start()
65 this.getDns().setThrottle(1); in start()
67 this.getDns().setLastThrottleIncrement(now); in start()
69 …if (this.getDns().isAnnounced() && this.getDns().getThrottle() < DNSConstants.PROBE_THROTTLE_COUNT… in start()
71 } else if (!this.getDns().isCanceling() && !this.getDns().isCanceled()) { in start()
98 return !this.getDns().isCanceling() && !this.getDns().isCanceled(); in checkRunCondition()
117 …newOut.addQuestion(DNSQuestion.newQuestion(this.getDns().getLocalHost().getName(), DNSRecordType.T… in buildOutgoingForDNS()
118 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.NOT_UNIQUE, this.getTT… in buildOutgoingForDNS()
[all …]
DDNSStateTask.java77 synchronized (this.getDns()) { in associate()
78 this.getDns().associateWithTask(this, state); in associate()
80 for (ServiceInfo serviceInfo : this.getDns().getServices().values()) { in associate()
90 synchronized (this.getDns()) { in removeAssociation()
91 this.getDns().removeAssociationWithTask(this); in removeAssociation()
95 for (ServiceInfo serviceInfo : this.getDns().getServices().values()) { in removeAssociation()
110 synchronized (this.getDns()) { in run()
111 if (this.getDns().isAssociatedWithTask(this, this.getTaskState())) { in run()
112 …iner(this.getName() + ".run() JmDNS " + this.getTaskDescription() + " " + this.getDns().getName()); in run()
113 stateObjects.add(this.getDns()); in run()
[all …]
DAnnouncer.java40 return "Announcer(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; in getName()
58 if (!this.getDns().isCanceling() && !this.getDns().isCanceled()) { in start()
85 return !this.getDns().isCanceling() && !this.getDns().isCanceled(); in checkRunCondition()
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()
129 this.getDns().recover(); in recoverTask()
142 this.getDns().startRenewer(); in advanceTask()
DRenewer.java38 return "Renewer(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; in getName()
56 if (!this.getDns().isCanceling() && !this.getDns().isCanceled()) { in start()
86 return !this.getDns().isCanceling() && !this.getDns().isCanceled(); in checkRunCondition()
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()
130 this.getDns().recover(); in recoverTask()
DCanceler.java38 return "Canceler(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; in getName()
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()
129 this.getDns().recover(); in recoverTask()
/external/jmdns/src/javax/jmdns/impl/tasks/
DRecordReaper.java33 return "RecordReaper(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; in getName()
42 if (!this.getDns().isCanceling() && !this.getDns().isCanceled()) { in start()
49 if (this.getDns().isCanceling() || this.getDns().isCanceled()) { in run()
58 this.getDns().cleanCache(); in run()
DResponder.java48 return "Responder(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; in getName()
78 iAmTheOnlyOne = question.iAmTheOnlyOne(this.getDns()); in start()
90 if (!this.getDns().isCanceling() && !this.getDns().isCanceled()) { in start()
97 this.getDns().respondToQuery(_in); in run()
103 if (this.getDns().isAnnounced()) { in run()
116 question.addAnswers(this.getDns(), answers); in run()
148 if (!out.isEmpty()) this.getDns().send(out); in run()
153 this.getDns().close(); in run()
DDNSTask.java40 public JmDNSImpl getDns() { in getDns() method in DNSTask
/external/jmdns/src/javax/jmdns/impl/tasks/resolver/
DServiceInfoResolver.java29 info.setDns(this.getDns()); in ServiceInfoResolver()
30 …this.getDns().addListener(info, DNSQuestion.newQuestion(info.getQualifiedName(), DNSRecordType.TYP… in ServiceInfoResolver()
39 … return "ServiceInfoResolver(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; in getName()
51 this.getDns().removeListener(_info); in cancel()
65 …newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getQualifie… in addAnswers()
66 …newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getQualifie… in addAnswers()
68 …newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getServer()… in addAnswers()
69 …newOut = this.addAnswer(newOut, (DNSRecord) this.getDns().getCache().getDNSEntry(_info.getServer()… in addAnswers()
DDNSResolverTask.java49 if (!this.getDns().isCanceling() && !this.getDns().isCanceled()) { in start()
61 if (this.getDns().isCanceling() || this.getDns().isCanceled()) { in run()
70 if (this.getDns().isAnnounced()) { in run()
74 this.getDns().send(out); in run()
83 this.getDns().recover(); in run()
DTypeResolver.java40 return "TypeResolver(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; in getName()
51 for (String type : this.getDns().getServiceTypes().keySet()) { in addAnswers()
52 ServiceTypeEntry typeEntry = this.getDns().getServiceTypes().get(type); in addAnswers()
DServiceResolver.java38 return "ServiceResolver(" + (this.getDns() != null ? this.getDns().getName() : "") + ")"; in getName()
49 for (ServiceInfo info : this.getDns().getServices().values()) { in addAnswers()
/external/jmdns/src/javax/jmdns/impl/
DJmDNSImpl.java555 public JmDNSImpl getDns() { in getDns() method in JmDNSImpl
991 if (info.getDns() != null) { in registerService()
992 if (info.getDns() != this) { in registerService()
1556 DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).purgeTimer(); in purgeTimer()
1565 DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).purgeStateTimer(); in purgeStateTimer()
1574 DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).cancelTimer(); in cancelTimer()
1583 DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).cancelStateTimer(); in cancelStateTimer()
1592 DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).startProber(); in startProber()
1601 DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).startAnnouncer(); in startAnnouncer()
1610 DNSTaskStarter.Factory.getInstance().getStarter(this.getDns()).startRenewer(); in startRenewer()
[all …]
DDNSStatefulObject.java132 public JmDNSImpl getDns() { in getDns() method in DNSStatefulObject.DefaultImplementation
422 public JmDNSImpl getDns(); in getDns() method
DSocketListener.java77 public JmDNSImpl getDns() { in getDns() method in SocketListener
DHostInfo.java287 public JmDNSImpl getDns() { in getDns() method in HostInfo
288 return this._state.getDns(); in getDns()
DServiceInfoImpl.java97 if (this.getDns() != null) { in setTask()
98 this.getDns().startAnnouncer(); in setTask()
922 JmDNSImpl dns = this.getDns(); in updateRecord()
1279 public JmDNSImpl getDns() { in getDns() method in ServiceInfoImpl
1280 return this._state.getDns(); in getDns()