com.strangeberry.jmdns.tools
Class Responder

java.lang.Object
  extended bycom.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
 

Constructor Detail

Responder

public Responder(javax.jmdns.JmDNS jmdns,
                 String file)
          throws IOException
Constructor.

Method Detail

main

public static void main(String[] argv)
                 throws IOException
Create a responder.

Throws:
IOException