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

◆ unsubscribeAsync() [2/2]

std::function< void()> IceStorm::TopicPrx::unsubscribeAsync ( const std::optional< Ice::ObjectPrx > & subscriber,
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

Unsubscribes the provided subscriber from this topic.

Parameters
subscriberA proxy to an existing subscriber. This 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.
See also
subscribeAndGetPublisher