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

◆ linkAsync()

virtual void IceStorm::AsyncTopic::linkAsync ( std::optional< TopicPrx > linkTo,
std::int32_t cost,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

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.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceStorm::LinkExistsThrown when a link to linkTo already exists.