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

◆ addFacetWithUUID()

template<typename Prx = ObjectPrx, std::enable_if_t< std::is_base_of_v< ObjectPrx, Prx >, bool > = true>
Prx Ice::ObjectAdapter::addFacetWithUUID ( ObjectPtr servant,
std::string facet )
inlinenodiscard

Adds a servant to this object adapter's Active Servant Map (ASM), using an automatically generated UUID as its identity.

Also specifies a facet.

Template Parameters
PrxThe type of the proxy to return.
Parameters
servantThe servant to add.
facetThe facet of the Ice object that is implemented by the servant.
Returns
A proxy with the generated UUID identity and the specified facet.

Definition at line 144 of file ObjectAdapter.h.