Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
IceStorm::AsyncTopic Class Referenceabstract

Represents an IceStorm topic. More...

#include <IceStorm/IceStorm.h>

Inheritance diagram for IceStorm::AsyncTopic:

Public Types

using ProxyType = TopicPrx
 The associated proxy type.

Public Member Functions

virtual void destroyAsync (std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Destroys this topic.
void dispatch (Ice::IncomingRequest &request, std::function< void(Ice::OutgoingResponse)> sendResponse) override
 Dispatches an incoming request to one of the member functions of this generated class, based on the operation name carried by the request.
virtual void getLinkInfoSeqAsync (std::function< void(const LinkInfoSeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets information on the current links.
virtual void getNameAsync (std::function< void(std::string_view returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the name of this topic.
virtual void getNonReplicatedPublisherAsync (std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets a non-replicated proxy to a publisher object for this topic.
virtual void getPublisherAsync (std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets a proxy to a publisher object for this topic.
virtual void getSubscribersAsync (std::function< void(const ::Ice::IdentitySeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets the list of subscribers for this topic.
std::string ice_id (const Ice::Current &current) const override
 Gets the type ID of the most-derived Slice interface supported by this object.
std::vector< std::string > ice_ids (const Ice::Current &current) const override
 Gets the Slice interfaces supported by this object as a list of type IDs.
virtual void linkAsync (std::optional< TopicPrx > linkTo, std::int32_t cost, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Creates a link to another topic.
virtual void subscribeAndGetPublisherAsync (QoS theQoS, std::optional< Ice::ObjectPrx > subscriber, std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Subscribes to this topic.
virtual void unlinkAsync (std::optional< TopicPrx > linkTo, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Destroys a link from this topic to the provided topic.
virtual void unsubscribeAsync (std::optional< Ice::ObjectPrx > subscriber, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Unsubscribes the provided subscriber from this topic.
Public Member Functions inherited from Ice::Object
 Object () noexcept=default
 Default constructor.
 Object (const Object &)=delete
 Object (Object &&)=delete
virtual bool ice_isA (std::string typeId, const Current &current) const
 Tests whether this object supports a specific Slice interface.
virtual void ice_ping (const Current &current) const
 Tests whether this object can be reached.
Objectoperator= (const Object &)=delete
Objectoperator= (Object &&)=delete

Static Public Member Functions

static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.
Static Public Member Functions inherited from Ice::Object
static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.

Detailed Description

Represents an IceStorm topic.

Publishers publish data to a topic (via the topic's publisher object), and subscribers subscribe to a topic.

See also
TopicManagerPrx

Definition at line 1124 of file IceStorm.h.


The documentation for this class was generated from the following file: