std::function< void()> IceGrid::RegistryPrx::createSessionAsync | ( | std::string_view | userId, |
std::string_view | password, | ||
std::function< void(std::optional<::IceGrid::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 client session.
userId | The user ID. |
password | The password for the given user. |
response | The response callback. It accepts:
|
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |