edu.northwestern.at.wordhoard.server
Class BootstrapImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
edu.northwestern.at.wordhoard.server.BootstrapImpl
- All Implemented Interfaces:
- Bootstrap, java.io.Serializable, java.rmi.Remote
public class BootstrapImpl
- extends java.rmi.server.UnicastRemoteObject
- implements Bootstrap
Server bootstrap remote object implementation.
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary |
BootstrapImpl()
Creates a new BootstrapImpl object. |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
BootstrapImpl
BootstrapImpl()
throws java.rmi.RemoteException
- Creates a new BootstrapImpl object.
- Throws:
java.rmi.RemoteException
startSession
public WordHoardSession startSession()
throws java.rmi.RemoteException
- Starts a new session.
- Specified by:
startSession
in interface Bootstrap
- Returns:
- A session object.
- Throws:
java.rmi.RemoteException
shutdown
public void shutdown(java.lang.String uri)
throws java.lang.Exception
- Shuts down the server.
- Specified by:
shutdown
in interface Bootstrap
- Parameters:
uri
- The URI for the server object.
Shutdown requests must originate from the local host, or
they are ignored.
- Throws:
java.lang.Exception