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

◆ createAsync()

virtual void Glacier2::AsyncSSLSessionManager::createAsync ( SSLInfo info,
std::optional< SessionControlPrx > control,
std::function< void(const std::optional< SessionPrx > &returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

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.
responseThe response callback. It accepts:
  • A proxy to the newly created session. This proxy is never null.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
Glacier2::CannotCreateSessionExceptionThrown when the session cannot be created.