std::optional< Ice::ObjectPrx > Ice::RouterPrx::getClientProxy | ( | std::optional< bool > & | hasRoutingTable, |
const Ice::Context & | context = Ice::noExplicitContext ) const |
Gets the router's client proxy, i.e.
the proxy to use for forwarding requests from the client to the router. If a null proxy is returned, the client will forward requests to the router's endpoints.
[out] | hasRoutingTable | Indicates whether or not the router supports a routing table. If true, the Ice runtime will call Ice::RouterPrx::addProxies to populate the routing table. The Ice runtime assumes the router has a routing table when hasRoutingTable is not set. |
context | The request context. |