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

◆ addObjectAsync() [1/2]

std::future< void > IceGrid::AdminPrx::addObjectAsync ( const std::optional< Ice::ObjectPrx > & obj,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

Adds an object to the object registry.

IceGrid gets the object type by calling ice_id on obj. The object must be reachable.

Parameters
objA proxy to the object. This proxy is never null.
contextThe request context.
Returns
A future that becomes available when the invocation completes.