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

◆ setReplicatedAdapterDirectProxyAsync() [1/2]

std::future< void > Ice::LocatorRegistryPrx::setReplicatedAdapterDirectProxyAsync ( std::string_view adapterId,
std::string_view replicaGroupId,
const std::optional< Ice::ObjectPrx > & proxy,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

Registers or unregisters the endpoints of an object adapter.

This object adapter is a member of a replica group.

Parameters
adapterIdThe adapter ID.
replicaGroupIdThe replica group ID.
proxyA dummy proxy created by the object adapter. proxy carries the object adapter's endpoints. The locator considers an object adapter to be active after it has registered its endpoints. When proxy is null, the endpoints are unregistered and the locator considers the object adapter inactive.
contextThe request context.
Returns
A future that becomes available when the invocation completes.