Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ createAsync() [1/2]

std::future< std::optional< SessionPrx > > Glacier2::SessionManagerPrx::createAsync ( std::string_view userId,
const std::optional< SessionControlPrx > & control,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

Creates a new session object.

Parameters
userIdThe user ID for the session.
controlA proxy to the session control object. This proxy is null when Glacier2.Server.Endpoints is not configured.
contextThe request context.
Returns
A future that becomes available when the invocation completes. This future holds:
  • A proxy to the newly created session. This proxy is never null.