The communicator operation propertyToProxy creates a proxy from a group of configuration properties (see
Section 32.2). The argument to
propertyToProxy is a string representing the base name of the property group. This name must correspond to a property that supplies the stringified form of the proxy. Subordinate properties can be defined to customize the proxy’s local configuration.
A property with an application-specific name supplies the stringified representation of a proxy. The application uses the communicator operation
propertyToProxy to retrieve the property and convert it into a proxy (see
Section 32.11.1).
If num is a value greater than zero, the proxy is configured to use collocation invocations (see
Section 32.22) when possible. Defining this property is equivalent to invoking the
ice_collocationOptimized factory method, which is described in
Section 32.11.2.
If num is a value greater than zero, the proxy caches its chosen connection for use in subsequent requests. Defining this property is equivalent to invoking the
ice_connectionCached factory method (see
Section 32.11.2).
Specifies the proxy’s endpoint selection type. Legal values are Random and
Ordered. Defining this property is equivalent to invoking the
ice_endpointSelection factory method (see
Section 32.11.2).
If num is a value greater than zero, the proxy gives precedence to secure endpoints. If not defined, the proxy uses the value of
Ice.Default.PreferSecure.