std::optional< Ice::ObjectPrx > IceStorm::TopicPrx::subscribeAndGetPublisher | ( | const QoS & | theQoS, |
const std::optional< Ice::ObjectPrx > & | subscriber, | ||
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. |
context | The request context. |
IceStorm::AlreadySubscribed | Thrown when subscriber is already subscribed. |
IceStorm::BadQoS | Thrown when theQoS is unavailable or invalid. |