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

◆ findAdapterById()

virtual std::optional< Ice::ObjectPrx > Ice::Locator::findAdapterById ( std::string id,
const Ice::Current & current ) const
nodiscardpure virtual

Finds an object adapter by adapter ID and returns a dummy proxy with the object adapter's endpoint(s).

Parameters
idThe adapter ID.
currentThe Current object of the incoming request.
Returns
A dummy proxy with the adapter's endpoints, or null if an object adapter with id was not found.
Exceptions
Ice::AdapterNotFoundExceptionThrown when an object adapter with this adapter ID was not found. The caller should treat this exception like a null return value.