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

◆ retrieveAsync()

virtual void IceStorm::AsyncTopicManager::retrieveAsync ( std::string name,
std::function< void(const std::optional< TopicPrx > &returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Retrieves a topic by name.

Parameters
nameThe name of the topic.
responseThe response callback. It accepts:
  • A proxy to the topic object. The returned proxy is never null.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceStorm::NoSuchTopicThrown when there is no topic named name.