Ice 3.7 Slice API Reference
Operations | List of all members
Glacier2::SessionManager Interface Reference

The session manager for username/password authenticated users that is responsible for managing Session objects. More...

defined in <Glacier2/Session.ice>

interface SessionManager { ... }

Operations

Sessioncreate (string userId, SessionControl *control) throws CannotCreateSessionException
 Create a new session. More...
 

Detailed Description

The session manager for username/password authenticated users that is responsible for managing Session objects.

New session objects are created by the Router object calling on an application-provided session manager. If no session manager is provided by the application, no client-visible sessions are passed to the client.

See also
Router
Session

Operation Documentation

◆ create()

["format:sliced"]
Session* create ( string  userId,
SessionControl control 
) throws CannotCreateSessionException

Create a new session.

Parameters
userIdThe user id for the session.
controlA proxy to the session control object.
Returns
A proxy to the newly created session.
Exceptions
CannotCreateSessionExceptionRaised if the session cannot be created.

The documentation for this interface was generated from the following file: