std::optional< Ice::ObjectPrx > Ice::LocatorPrx::findAdapterById | ( | std::string_view | id, |
const Ice::Context & | context = Ice::noExplicitContext ) const |
Finds an object adapter by adapter ID and returns a dummy proxy with the object adapter's endpoint(s).
id | The adapter ID. |
context | The request context. |
id
was not found. Ice::AdapterNotFoundException | Thrown when an object adapter with this adapter ID was not found. The caller should treat this exception like a null return value. |