std::function< void()> Glacier2::SSLSessionManagerPrx::createAsync | ( | const SSLInfo & | info, |
const std::optional< SessionControlPrx > & | control, | ||
std::function< void(std::optional<::Glacier2::SessionPrx >)> | response, | ||
std::function< void(std::exception_ptr)> | exception = nullptr, | ||
std::function< void(bool)> | sent = nullptr, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
Creates a new session object.
info | The SSL info. |
control | A proxy to the session control object. This proxy is null when Glacier2.Server.Endpoints is not configured. |
response | The response callback. It accepts:
|
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |