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

◆ findAdapterByIdAsync() [2/2]

std::function< void()> IceDiscovery::LookupPrx::findAdapterByIdAsync ( std::string_view domainId,
std::string_view id,
const std::optional< LookupReplyPrx > & reply,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception = nullptr,
std::function< void(bool)> sent = nullptr,
const Ice::Context & context = Ice::noExplicitContext ) const

Finds an object adapter.

Parameters
domainIdThe IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a matching domain identifier.
idThe adapter ID.
replyThe proxy of the IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a matching adapter is found. The reply proxy is never null.
responseThe response callback.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.