std::function< void()> IceStorm::TopicPrx::linkAsync | ( | const std::optional< TopicPrx > & | linkTo, |
std::int32_t | cost, | ||
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 |
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. |
response | The response callback. |
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |