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

◆ foundAdapterByIdAsync() [2/2]

std::function< void()> IceDiscovery::LookupReplyPrx::foundAdapterByIdAsync ( std::string_view id,
const std::optional< Ice::ObjectPrx > & prx,
bool isReplicaGroup,
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

Provides a reply to a IceDiscovery::LookupPrx::findAdapterById request.

Parameters
idThe adapter ID.
prxThe adapter proxy (a dummy proxy created by the adapter). The proxy provides the adapter endpoints. This proxy is never null.
isReplicaGroupIndicates whether the adapter is a member of a replica group.
responseThe response callback.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.