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

◆ createOrRetrieveAsync()

virtual void IceStorm::AsyncTopicManager::createOrRetrieveAsync ( 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

Creates a new topic with the given name, or retrieves the existing topic with this name if it already exists.

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.