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

◆ link()

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.

Parameters
linkToThe topic to link to. This proxy cannot be null.
costThe cost of the link.
contextThe request context.
Exceptions
IceStorm::LinkExistsThrown when a link to linkTo already exists.