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

◆ addObjectWithTypeAsync() [1/2]

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

Adds an object to the object registry and explicitly specifies its type.

Parameters
objThe object to be added to the registry. The proxy is never null.
typeThe type name.
contextThe request context.
Returns
A future that becomes available when the invocation completes.