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

◆ propertyToProxy()

template<typename Prx = ObjectPrx, std::enable_if_t< std::is_base_of_v< ObjectPrx, Prx >, bool > = true>
std::optional< Prx > Ice::Communicator::propertyToProxy ( std::string_view property) const
inline

Converts a set of proxy properties into a proxy.

The "base" name supplied in the property argument refers to a property containing a stringified proxy, such as MyProxy=id:tcp -h localhost -p 10000. Additional properties configure local settings for the proxy.

Template Parameters
PrxThe type of the proxy to return.
Parameters
propertyThe base property name.
Returns
The proxy, or nullopt if the property is not set.

Definition at line 111 of file Communicator.h.