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

◆ detachRemoteLoggerAsync() [2/2]

std::function< void()> Ice::LoggerAdminPrx::detachRemoteLoggerAsync ( const std::optional< RemoteLoggerPrx > & prx,
std::function< void(bool)> response,
std::function< void(std::exception_ptr)> exception = nullptr,
std::function< void(bool)> sent = nullptr,
const Ice::Context & context = Ice::noExplicitContext ) const

Detaches a Ice::RemoteLoggerPrx object from the local logger.

Parameters
prxA proxy to the remote logger.
responseThe response callback. It accepts:
  • true if the provided remote logger proxy was detached, and false otherwise.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.