de.kosi.session
Interface SessionAdminInterface
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- ServerSessionInformation
- public interface SessionAdminInterface
- extends java.rmi.Remote
The session admin interface is used to administrate sessions on the server.
ChangeLog:
$Log: SessionAdminInterface.java,v $
Revision 1.2 2001/06/04 14:21:10 jiriki
Made source more comliant to coding guidelines.
Revision 1.1.1.1 2001/04/29 18:05:19 jiriki
Imported sources from zola.
Revision 1.3 2001/03/19 21:50:49 wombat
- Worked on admin client.
- improved shutdown sequence
- removed bugs in login/logout sequence
Revision 1.2 2001/03/15 19:31:51 wombat
Updated Documentation
- Version:
- $Revision: 1.2 $ ($Date: 2001/06/04 14:21:10 $)
- Author:
- Jan-Ole Janssen, Niklas Mehner, Time Sticher
getSessions
public java.util.List getSessions()
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
- Returns a list of active sessions in the server.
- Returns:
- List containing SessionListEntry objects.
- Throws:
java.rmi.RemoteException
- If the remote call fails.KosiAccessException
- If called by an user that has no
administrativ rights.InvalidSessionException
- If called from an invalid session context.
removeSession
public void removeSession(Session session)
throws java.rmi.RemoteException,
KosiAccessException,
InvalidSessionException
- Removes a session.
- Parameters:
session
- Session to remove.- Throws:
java.rmi.RemoteException
- If the remote call fails.KosiAccessException
- If called by an user that has no administrativ
rights.InvalidSessionException
- If called from an invalid session context.