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

◆ getCategoryForClientAsync()

virtual void Glacier2::AsyncRouter::getCategoryForClientAsync ( std::function< void(std::string_view returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current ) const
pure virtual

Gets a unique category that identifies the client (caller) in the router.

This category must be used in the identities of all the client's callback objects.

Parameters
responseThe response callback. It accepts:
  • The category. It's an empty string when Glacier2.Server.Endpoints is not configured.
exceptionThe exception callback.
currentThe Current object of the incoming request.