Represents an object that manages topics. More...
#include <IceStorm/IceStorm.h>
Public Member Functions | |
TopicManagerPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
TopicManagerPrx (const TopicManagerPrx &other) noexcept | |
Copy constructor. | |
TopicManagerPrx (TopicManagerPrx &&other) noexcept | |
Move constructor. | |
std::optional< TopicPrx > | create (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Creates a new topic. | |
std::future< std::optional< TopicPrx > > | createAsync (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Creates a new topic. | |
std::function< void()> | createAsync (std::string_view name, std::function< void(std::optional<::IceStorm::TopicPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const |
Creates a new topic. | |
TopicManagerPrx & | operator= (const TopicManagerPrx &rhs) noexcept |
Copy assignment operator. | |
TopicManagerPrx & | operator= (TopicManagerPrx &&rhs) noexcept |
Move assignment operator. | |
std::optional< TopicPrx > | retrieve (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Retrieves a topic by name. | |
TopicDict | retrieveAll (const Ice::Context &context=Ice::noExplicitContext) const |
Retrieves all topics managed by this topic manager. | |
std::future< TopicDict > | retrieveAllAsync (const Ice::Context &context=Ice::noExplicitContext) const |
Retrieves all topics managed by this topic manager. | |
std::function< void()> | retrieveAllAsync (std::function< void(::IceStorm::TopicDict)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const |
Retrieves all topics managed by this topic manager. | |
std::future< std::optional< TopicPrx > > | retrieveAsync (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Retrieves a topic by name. | |
std::function< void()> | retrieveAsync (std::string_view name, std::function< void(std::optional<::IceStorm::TopicPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const |
Retrieves a topic by name. | |
Public Member Functions inherited from Ice::Proxy< TopicManagerPrx, Ice::ObjectPrx > | |
TopicManagerPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
TopicManagerPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
TopicManagerPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
TopicManagerPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
TopicManagerPrx | ice_compress (bool b) const |
Creates a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints. | |
TopicManagerPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
TopicManagerPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
TopicManagerPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
TopicManagerPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
TopicManagerPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
TopicManagerPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
TopicManagerPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
TopicManagerPrx | ice_fixed (ConnectionPtr connection) const |
Creates a proxy that is identical to this proxy, except it's a fixed proxy bound to the given connection. | |
TopicManagerPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
TopicManagerPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
TopicManagerPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
TopicManagerPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
TopicManagerPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
TopicManagerPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const TopicManagerPrx * | operator-> () const noexcept |
The arrow operator. |
Static Public Member Functions | |
static const char * | ice_staticId () noexcept |
Gets the type ID of the associated Slice interface. |