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

◆ createOrRetrieve()

std::optional< TopicPrx > IceStorm::TopicManagerPrx::createOrRetrieve ( std::string_view name,
const Ice::Context & context = Ice::noExplicitContext ) const

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.
contextThe request context.
Returns
A proxy to the topic object. The returned proxy is never null.