void IceStorm::TopicPrx::link | ( | const std::optional< TopicPrx > & | linkTo, |
std::int32_t | cost, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
Creates a link to another topic.
All events originating on this topic will also be sent to the other topic.
linkTo | The topic to link to. This proxy cannot be null. |
cost | The cost of the link. |
context | The request context. |
IceStorm::LinkExists | Thrown when a link to linkTo already exists. |