edu.northwestern.at.wordhoard.server
Interface Bootstrap

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
BootstrapImpl

public interface Bootstrap
extends java.rmi.Remote

Server bootstrap remote object.


Method Summary
 void shutdown(java.lang.String uri)
          Shuts down the server.
 WordHoardSession startSession()
          Starts a new session.
 

Method Detail

startSession

WordHoardSession startSession()
                              throws java.rmi.RemoteException
Starts a new session.

Returns:
A session object.
Throws:
java.rmi.RemoteException

shutdown

void shutdown(java.lang.String uri)
              throws java.lang.Exception
Shuts down the server.

Parameters:
uri - The URI for the server object.

Shutdown requests must originate from the local host, or they are ignored.

Throws:
java.lang.Exception