std::function< void()> IceStorm::TopicPrx::subscribeAndGetPublisherAsync | ( | const QoS & | theQoS, |
const std::optional< Ice::ObjectPrx > & | subscriber, | ||
std::function< void(std::optional< Ice::ObjectPrx >)> | response, | ||
std::function< void(std::exception_ptr)> | exception = nullptr, | ||
std::function< void(bool)> | sent = nullptr, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
Subscribes to this topic.
theQoS | The quality of service parameters for this subscription. |
subscriber | The subscriber's proxy. This proxy cannot be null. |
response | The response callback. It accepts:
|
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |