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

◆ getPublisherAsync() [1/2]

std::future< std::optional< Ice::ObjectPrx > > IceStorm::TopicPrx::getPublisherAsync ( const Ice::Context & context = Ice::noExplicitContext) const
nodiscard

Gets a proxy to a publisher object for this topic.

To publish data to a topic, a publisher calls this operation and then creates a proxy with the publisher type from this proxy. If a replicated IceStorm deployment is used, this call may return a replicated proxy.

Parameters
contextThe request context.
Returns
A future that becomes available when the invocation completes. This future holds:
  • A proxy to publish data on this topic. This proxy is never null.