edu.washington.cs.supple.net.rmi.client
Class RMIDirectoryProtocol

java.lang.Object
  extended byedu.washington.cs.supple.net.rmi.client.RMIDirectoryProtocol
All Implemented Interfaces:
DirectoryProtocol

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

RMI directory protocol implementation.

Author:
dbc1

Constructor Summary
RMIDirectoryProtocol()
           
 
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
 

Constructor Detail

RMIDirectoryProtocol

public RMIDirectoryProtocol()
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

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

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: