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

◆ getPublisher()

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

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 proxy to publish data on this topic. This proxy is never null.