com.strangeberry.jmdns.tools
Class Responder
java.lang.Object
com.strangeberry.jmdns.tools.Responder
- public class Responder
- extends Object
A sample JmDNS responder that reads a set of rendezvous service
definitions from a file and registers them with rendezvous. It uses
the same file format as Apple's responder. Each record consists of
4 lines: name, type, text, port. Empty lines and lines starting with #
between records are ignored.
- Version:
- %I%, %G%
- Author:
- Arthur van Hoff
Constructor Summary |
Responder(javax.jmdns.JmDNS jmdns,
String file)
Constructor. |
Method Summary |
static void |
main(String[] argv)
Create a responder. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Responder
public Responder(javax.jmdns.JmDNS jmdns,
String file)
throws IOException
- Constructor.
main
public static void main(String[] argv)
throws IOException
- Create a responder.
- Throws:
IOException