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

  /external/jmdns/src/javax/jmdns/impl/tasks/
RecordReaper.java 11 import javax.jmdns.impl.JmDNSImpl;
21 * @param jmDNSImpl
23 public RecordReaper(JmDNSImpl jmDNSImpl) {
24 super(jmDNSImpl);
DNSTask.java 12 import javax.jmdns.impl.JmDNSImpl;
25 private final JmDNSImpl _jmDNSImpl;
28 * @param jmDNSImpl
30 protected DNSTask(JmDNSImpl jmDNSImpl) {
32 this._jmDNSImpl = jmDNSImpl;
40 public JmDNSImpl getDns() {
Responder.java 17 import javax.jmdns.impl.JmDNSImpl;
36 public Responder(JmDNSImpl jmDNSImpl, DNSIncoming in, int port) {
37 super(jmDNSImpl);
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();
  /external/jmdns/src/javax/jmdns/impl/tasks/resolver/
TypeResolver.java 12 import javax.jmdns.impl.JmDNSImpl;
13 import javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry;
28 * @param jmDNSImpl
30 public TypeResolver(JmDNSImpl jmDNSImpl) {
31 super(jmDNSImpl);
DNSResolverTask.java 10 import javax.jmdns.impl.JmDNSImpl;
28 * @param jmDNSImpl
30 public DNSResolverTask(JmDNSImpl jmDNSImpl) {
31 super(jmDNSImpl);
ServiceResolver.java 13 import javax.jmdns.impl.JmDNSImpl;
27 public ServiceResolver(JmDNSImpl jmDNSImpl, String type) {
28 super(jmDNSImpl);
ServiceInfoResolver.java 12 import javax.jmdns.impl.JmDNSImpl;
26 public ServiceInfoResolver(JmDNSImpl jmDNSImpl, ServiceInfoImpl info) {
27 super(jmDNSImpl);
  /external/jmdns/src/javax/jmdns/impl/
DNSQuestion.java 14 import javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry;
36 public void addAnswers(JmDNSImpl jmDNSImpl, Set<DNSRecord> answers) {
37 DNSRecord answer = jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL);
44 public boolean iAmTheOnlyOne(JmDNSImpl jmDNSImpl) {
46 return jmDNSImpl.getLocalHost().getName().equals(name) || jmDNSImpl.getServices().keySet().contains(name);
60 public void addAnswers(JmDNSImpl jmDNSImpl, Set<DNSRecord> answers)
    [all...]
SocketListener.java 23 private final JmDNSImpl _jmDNSImpl;
26 * @param jmDNSImpl
28 SocketListener(JmDNSImpl jmDNSImpl) {
29 super("SocketListener(" + (jmDNSImpl != null ? jmDNSImpl.getName() : "") + ")");
31 this._jmDNSImpl = jmDNSImpl;
77 public JmDNSImpl getDns() {
ServiceEventImpl.java 50 public ServiceEventImpl(JmDNSImpl jmDNS, String type, String name, ServiceInfo info) {
121 return new ServiceEventImpl((JmDNSImpl) this.getDNS(), this.getType(), this.getName(), newInfo);
DNSTaskStarter.java 39 private final ConcurrentMap<JmDNSImpl, DNSTaskStarter> _instances;
49 * @param jmDNSImpl
55 public DNSTaskStarter newDNSTaskStarter(JmDNSImpl jmDNSImpl);
62 _instances = new ConcurrentHashMap<JmDNSImpl, DNSTaskStarter>(20);
91 * @param jmDNSImpl
95 protected static DNSTaskStarter newDNSTaskStarter(JmDNSImpl jmDNSImpl) {
99 instance = delegate.newDNSTaskStarter(jmDNSImpl);
101 return (instance != null ? instance : new DNSTaskStarterImpl(jmDNSImpl));
    [all...]
DNSRecord.java 77 abstract boolean handleQuery(JmDNSImpl dns, long expirationTime);
84 abstract boolean handleResponse(JmDNSImpl dns);
89 abstract DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException;
330 boolean handleQuery(JmDNSImpl dns, long expirationTime) {
365 boolean handleResponse(JmDNSImpl dns) {
384 DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException {
401 * @see javax.jmdns.impl.DNSRecord#getServiceEvent(javax.jmdns.impl.JmDNSImpl)
404 public ServiceEvent getServiceEvent(JmDNSImpl dns) {
466 boolean handleQuery(JmDNSImpl dns, long expirationTime) {
473 boolean handleResponse(JmDNSImpl dns)
    [all...]
DNSStatefulObject.java 109 private volatile JmDNSImpl _dns;
132 public JmDNSImpl getDns() {
136 protected void setDns(JmDNSImpl dns) {
422 public JmDNSImpl getDns();
HostInfo.java 50 public HostInfoState(JmDNSImpl dns) {
66 public static HostInfo newHostInfo(InetAddress address, JmDNSImpl dns, String jmdnsName) {
121 private HostInfo(final InetAddress address, final String name, final JmDNSImpl dns) {
287 public JmDNSImpl getDns() {
JmDNSImpl.java 56 public class JmDNSImpl extends JmDNS implements DNSStatefulObject, DNSTaskStarter {
57 private static Logger logger = Logger.getLogger(JmDNSImpl.class.getName());
368 pomProperties.load(JmDNSImpl.class.getResourceAsStream("/META-INF/maven/javax.jmdns/jmdns/pom.properties"));
392 public JmDNSImpl(InetAddress address, String name) throws IOException {
555 public JmDNSImpl getDns() {
    [all...]
ServiceInfoImpl.java 110 public void setDns(JmDNSImpl dns) {
922 JmDNSImpl dns = this.getDns();
    [all...]
JmmDNSImpl.java 321 ServiceInfo info = ((JmDNSImpl) mDNS).getServices().get(target.getQualifiedName());
  /external/jmdns/src/javax/jmdns/
JmDNS.java 13 import javax.jmdns.impl.JmDNSImpl;
60 return new JmDNSImpl(null, null);
81 return new JmDNSImpl(addr, null);
102 return new JmDNSImpl(null, name);
137 return new JmDNSImpl(addr, name);
  /external/jmdns/src/javax/jmdns/impl/tasks/state/
Canceler.java 13 import javax.jmdns.impl.JmDNSImpl;
25 public Canceler(JmDNSImpl jmDNSImpl) {
26 super(jmDNSImpl, 0);
Prober.java 14 import javax.jmdns.impl.JmDNSImpl;
30 public Prober(JmDNSImpl jmDNSImpl) {
31 super(jmDNSImpl, defaultTTL());
70 timer.schedule(this, JmDNSImpl.getRandom().nextInt(1 + DNSConstants.PROBE_WAIT_INTERVAL), DNSConstants.PROBE_WAIT_INTERVAL);
Announcer.java 13 import javax.jmdns.impl.JmDNSImpl;
27 public Announcer(JmDNSImpl jmDNSImpl) {
28 super(jmDNSImpl, defaultTTL());
Renewer.java 13 import javax.jmdns.impl.JmDNSImpl;
25 public Renewer(JmDNSImpl jmDNSImpl) {
26 super(jmDNSImpl, defaultTTL());
DNSStateTask.java 13 import javax.jmdns.impl.JmDNSImpl;
55 * @param jmDNSImpl
58 public DNSStateTask(JmDNSImpl jmDNSImpl, int ttl) {
59 super(jmDNSImpl);

Completed in 592 milliseconds