de.iiit.access.common.rmi
Class RMIServer
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--de.iiit.access.common.rmi.RMIServer
- All Implemented Interfaces:
- Remote, RMIServerIf, Serializable
- public class RMIServer
- extends UnicastRemoteObject
- implements RMIServerIf
Implements a RMI server for requesting the AccessServer
- Version:
- $Revision: 1.7 $ $Date: 2003/04/13 21:13:38 $
- See Also:
- Serialized Form
Constructor Summary |
RMIServer()
Creates a new instance of RmiServer |
RMIServer
public RMIServer()
throws RemoteException
- Creates a new instance of RmiServer
- Throws:
RemoteException
- when anything goes wrong
serverShutdown
public void serverShutdown()
throws RemoteException
- Shuts down the server.
- Specified by:
serverShutdown
in interface RMIServerIf
- Throws:
RemoteException
- when anything goes wrong
getSession
public RMISessionIf getSession(String user)
throws RemoteException
- Returns a new RMI session for a distinct user.
- Specified by:
getSession
in interface RMIServerIf
- Parameters:
user
- the name of the for whom the session will be used.
- Returns:
- the newly created session
- Throws:
RemoteException
- if there are any RMI errors.
Copyright © 2002, 2003 ingeneurbuero fuer innovative
informationstechnik, Dipl.-Ing. Joerg Beckmann, Dortmund,
Germany. All Rights Reserved.
See Copyright statement