Locator Configuration for a Client
An indirect proxy needs a locator to resolve its adapter ID or identity into endpoints. You give a proxy its locator by configuring a locator proxy, in one of several ways:
- by explicitly configuring an indirect proxy using the
ice_locatorproxy method - by defining the name.Locator property of a proxy that the application creates with
propertyToProxy - by calling
setDefaultLocatoron a communicator, after which all new proxies use the given locator by default - by defining the Ice.Default.Locator configuration property, which causes all proxies to use the given locator by default
To trace how the Ice runtime resolves indirect proxies, set the following properties:
Properties
Ice.Trace.Protocol=1Ice.Trace.Locator=2See Ice.Trace.* for more information on these properties.