Ice Reference Documentation | ||
---|---|---|
<<< Previous | Slice Documentation | Next >>> |
interface Router extends ::Ice::Router |
The Glacier2 specialization of the standard Ice router interface.
Create a per-client session with the router.
Destroy the calling client's session with this router.
Session* createSession(string userId, string password) throws PermissionDeniedException, CannotCreateSessionException; |
Create a per-client session with the router. If a SessionManager has been installed, a proxy to a Session object is returned to the client. Otherwise, null is returned and only an internal session (i.e., not visible to the client) is created.
The user id for which to check the password.
The password for the given user id.
A proxy for the newly created session, or null if no SessionManager has been installed.
Raised if the password for the given user id is not correct, or if the user is not allowed access.
Raised if the session cannot be created.
[ "amd" ] void destroySession() throws SessionNotExistException; |
Destroy the calling client's session with this router.
Raised if no session exists for the calling client.
<<< Previous | Home | Next >>> |
Glacier2::PermissionsVerifier | Up | Glacier2::Session |