JmDNS 3.4.1

com.strangeberry.jmdns.tools
Class Responder

java.lang.Object
  extended by com.strangeberry.jmdns.tools.Responder

public class Responder
extends java.lang.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.

Author:
Arthur van Hoff

Constructor Summary
Responder(JmDNS jmdns, java.lang.String file)
          Constructor.
 
Method Summary
static void main(java.lang.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(JmDNS jmdns,
                 java.lang.String file)
          throws java.io.IOException
Constructor.

Parameters:
jmdns -
file -
Throws:
java.io.IOException
Method Detail

main

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

Parameters:
argv -
Throws:
java.io.IOException

JmDNS 3.4.1