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

◆ setDefaultLocator()

void Ice::Communicator::setDefaultLocator ( const std::optional< LocatorPrx > & loc)

Sets the default locator of this communicator.

All newly created proxies will use this default locator. This function has no effect on existing proxies or object adapters.

Parameters
locThe new default locator. Use nullopt to remove the default locator.
Exceptions
CommunicatorDestroyedExceptionThrown when the communicator has been destroyed.
See also
getDefaultLocator
Locator
ObjectAdapter::setLocator