edu.washington.cs.supple.net.mdns
Class MDNSDirectoryProtocol

java.lang.Object
  extended byedu.washington.cs.supple.net.mdns.MDNSDirectoryProtocol
All Implemented Interfaces:
DirectoryProtocol

public final class MDNSDirectoryProtocol
extends java.lang.Object
implements DirectoryProtocol

MDNSProtocol discovers apps locally using MDNS

Author:
dbc1

Field Summary
static java.lang.String MDNS_ROOT
           
 
Constructor Summary
MDNSDirectoryProtocol()
           
 
Method Summary
 boolean hasRoots()
          Return true if the directory protocol has a notion of a root url(s).
 DirectoryEntry[] list(java.lang.String url)
          Get a list of applications associated with a specified url
 DirectoryEntry[] listRoots()
          List the protocol's root urls (if any).
 void open(java.lang.String url, Renderer renderer)
          Open an application using the specified url and target renderer.
 Solver openSolver(java.lang.String url)
          Access a remote solver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MDNS_ROOT

public static final java.lang.String MDNS_ROOT
See Also:
Constant Field Values
Constructor Detail

MDNSDirectoryProtocol

public MDNSDirectoryProtocol()
Method Detail

open

public void open(java.lang.String url,
                 Renderer renderer)
          throws java.lang.Exception
Description copied from interface: DirectoryProtocol
Open an application using the specified url and target renderer.

Specified by:
open in interface DirectoryProtocol
Parameters:
url -
renderer -
Returns:
Throws:
java.lang.Exception

list

public DirectoryEntry[] list(java.lang.String url)
                      throws java.lang.Exception
Description copied from interface: DirectoryProtocol
Get a list of applications associated with a specified url

Specified by:
list in interface DirectoryProtocol
Parameters:
url -
Returns:
Throws:
java.lang.Exception

hasRoots

public boolean hasRoots()
Description copied from interface: DirectoryProtocol
Return true if the directory protocol has a notion of a root url(s).

Specified by:
hasRoots in interface DirectoryProtocol
Returns:

listRoots

public DirectoryEntry[] listRoots()
Description copied from interface: DirectoryProtocol
List the protocol's root urls (if any).

Specified by:
listRoots in interface DirectoryProtocol
Returns:

openSolver

public Solver openSolver(java.lang.String url)
                  throws java.lang.Exception
Description copied from interface: DirectoryProtocol
Access a remote solver.

Specified by:
openSolver in interface DirectoryProtocol
Throws:
java.lang.Exception