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

◆ findLocatorAsync() [2/2]

std::function< void()> IceLocatorDiscovery::LookupPrx::findLocatorAsync ( std::string_view instanceName,
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 a locator proxy with the given instanceName.

Parameters
instanceNameRestrict the search to Ice registries configured with the given instance name. If empty, all the available registries will reply.
replyThe reply object to use to send the reply.
responseThe response callback.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.