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

◆ createSessionAsync()

virtual void IceGrid::AsyncRegistry::createSessionAsync ( std::string userId,
std::string password,
std::function< void(const std::optional< SessionPrx > &returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Creates a client session.

Parameters
userIdThe user ID.
passwordThe password for the given user.
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
IceGrid::PermissionDeniedExceptionThrown when authentication or authorization fails.