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

◆ createProxy()

template<typename Prx = ObjectPrx, std::enable_if_t< std::is_base_of_v< ObjectPrx, Prx >, bool > = true>
Prx Ice::ObjectAdapter::createProxy ( Identity id)
inline

Creates a proxy from an Ice identity.

If this object adapter is configured with an adapter ID, the proxy is an indirect proxy that refers to this adapter ID. If a replica group ID is also defined, the proxy is an indirect proxy that refers to this replica group ID. Otherwise, the proxy is a direct proxy containing this object adapter's published endpoints.

Template Parameters
PrxThe type of the proxy to return.
Parameters
idAn Ice identity.
Returns
A proxy with the given identity.

Definition at line 256 of file ObjectAdapter.h.