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

◆ getServerProxyAsync() [2/2]

std::function< void()> Ice::RouterPrx::getServerProxyAsync ( 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 the router's server proxy, i.e.

the proxy to use for forwarding requests from the server to the router. The Ice runtime uses the endpoints of this proxy as the published endpoints of bi-dir object adapters.

Parameters
responseThe response callback. It accepts:
  • The router's server proxy.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.