Lines Matching refs:JmDNS
5 package javax.jmdns;
13 import javax.jmdns.impl.JmDNSImpl;
20 public abstract class JmDNS implements Closeable {
28 * This method is called if JmDNS cannot recover from an I/O error.
35 public void cannotRecoverFromIOError(JmDNS dns, Collection<ServiceInfo> infos);
40 * The version of JmDNS.
46 * Create an instance of JmDNS.
55 * @return jmDNS instance
59 public static JmDNS create() throws IOException {
65 * Create an instance of JmDNS and bind it to a specific network interface given its IP-address.
76 * @return jmDNS instance
80 public static JmDNS create(final InetAddress addr) throws IOException {
86 * Create an instance of JmDNS.
96 * name of the newly created JmDNS
97 * @return jmDNS instance
101 public static JmDNS create(final String name) throws IOException {
107 * Create an instance of JmDNS and bind it to a specific network interface given its IP-address.
119 * <li>If the hostname is a reverse lookup default to <code>JmDNS name</code> or <code>computer</code> if null.</li>
125 * {@link NetworkTopologyDiscovery.Factory#setClassDelegate(NetworkTopologyDiscovery.Factory.ClassDelegate)}. This must be done before creating a {@link JmDNS} or {@link JmmDNS} instance.
131 * name of the newly created JmDNS
132 * @return jmDNS instance
136 public static JmDNS create(final InetAddress addr, final String name) throws IOException {
141 * Return the name of the JmDNS instance. This is an arbitrary string that is useful for distinguishing instances.
143 * @return name of the JmDNS
148 * Return the HostName associated with this JmDNS instance. Note: May not be the same as what started. The host name is subject to negotiation.
155 * Return the address of the interface to which this instance of JmDNS is bound.
164 * Return the address of the interface to which this instance of JmDNS is bound.
325 * Register a service. The service is registered for access by other jmdns clients. The name of the service may be changed to make it unique.<br>
326 * Note that the given {@code ServiceInfo} is bound to this {@code JmDNS} instance, and should not be reused for any other {@linkplain #registerService(ServiceInfo)}.