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

◆ getPublisherAsync()

virtual void IceStorm::AsyncTopic::getPublisherAsync ( std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current ) const
pure virtual

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
responseThe response callback. It accepts:
  • A proxy to publish data on this topic. This proxy is never null.
exceptionThe exception callback.
currentThe Current object of the incoming request.