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

◆ getCategoryForClientAsync() [1/2]

std::future< std::string > Glacier2::RouterPrx::getCategoryForClientAsync ( const Ice::Context & context = Ice::noExplicitContext) const
nodiscard

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
contextThe request context.
Returns
A future that becomes available when the invocation completes. This future holds:
  • The category. It's an empty string when Glacier2.Server.Endpoints is not configured.