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

◆ findAllReplicasAsync() [2/2]

std::function< void()> IceGrid::QueryPrx::findAllReplicasAsync ( const std::optional< Ice::ObjectPrx > & proxy,
std::function< void(::Ice::ObjectProxySeq)> response,
std::function< void(std::exception_ptr)> exception = nullptr,
std::function< void(bool)> sent = nullptr,
const Ice::Context & context = Ice::noExplicitContext ) const

Finds all the replicas of a well-known object.

Parameters
proxyA proxy that identifies the well-known object.
responseThe response callback. It accepts:
  • A list of proxies to the replicas of the well-known object specified by proxy. Can be empty.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.