std::function< void()> Glacier2::RouterPrx::getCategoryForClientAsync | ( | std::function< void(std::string)> | response, |
std::function< void(std::exception_ptr)> | exception = nullptr, | ||
std::function< void(bool)> | sent = nullptr, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
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.
response | The response callback. It accepts:
|
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |