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

◆ ice_getConnectionAsync() [1/2]

std::future< Ice::ConnectionPtr > Ice::ObjectPrx::ice_getConnectionAsync ( ) const
nodiscard

Gets the connection for this proxy.

If the proxy does not yet have an established connection or its connection is closed or being closed, it first attempts to create a new connection. For a fixed proxy, this function returns the connection this proxy is bound to, even when this connection is closed.

Returns
A future that becomes available when the invocation completes. This future holds:
  • The connection for this proxy.