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

◆ ice_getConnection()

Ice::ConnectionPtr Ice::ObjectPrx::ice_getConnection ( ) const

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
The connection for this proxy.
Remarks
You can call this function to establish a connection or associate the proxy with an existing connection and ignore the return value.