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

◆ getAdminCallbackTemplateAsync() [2/2]

std::function< void()> IceGrid::AdminSessionPrx::getAdminCallbackTemplateAsync ( std::function< void(std::optional< Ice::ObjectPrx >)> response,
std::function< void(std::exception_ptr)> exception = nullptr,
std::function< void(bool)> sent = nullptr,
const Ice::Context & context = Ice::noExplicitContext ) const

Gets a "template" proxy for admin callback objects.

An Admin client uses this proxy to set the category of its callback objects, and the published endpoints of the object adapter hosting the admin callback objects.

Parameters
responseThe response callback. It accepts:
  • A template proxy. The returned proxy is null when the Admin session was established using Glacier2.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.