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

◆ getServerProxyAsync() [1/2]

std::future< std::optional< Ice::ObjectPrx > > Ice::RouterPrx::getServerProxyAsync ( const Ice::Context & context = Ice::noExplicitContext) const
nodiscard

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
contextThe request context.
Returns
A future that becomes available when the invocation completes. This future holds:
  • The router's server proxy.