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

◆ createAsync()

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

Parameters
nameThe name of the topic.
responseThe response callback. It accepts:
  • A proxy to the new topic object. The returned proxy is never null.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceStorm::TopicExistsThrown when a topic with the same name already exists.