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

◆ create()

std::optional< SessionPrx > Glacier2::SSLSessionManagerPrx::create ( const SSLInfo & info,
const std::optional< SessionControlPrx > & control,
const Ice::Context & context = Ice::noExplicitContext ) const

Creates a new session object.

Parameters
infoThe SSL info.
controlA proxy to the session control object. This proxy is null when Glacier2.Server.Endpoints is not configured.
contextThe request context.
Returns
A proxy to the newly created session. This proxy is never null.
Exceptions
Glacier2::CannotCreateSessionExceptionThrown when the session cannot be created.