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

Provides access to a TopicManagerPrx object via a fixed identity. More...

#include <IceStorm/IceStorm.h>

Inheritance diagram for IceStorm::FinderPrx:

Public Member Functions

 FinderPrx (const FinderPrx &other) noexcept
 Copy constructor.
 FinderPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
 Constructs a proxy from a Communicator and a proxy string.
 FinderPrx (FinderPrx &&other) noexcept
 Move constructor.
std::optional< TopicManagerPrxgetTopicManager (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the associated IceStorm::TopicManagerPrx.
std::future< std::optional< TopicManagerPrx > > getTopicManagerAsync (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the associated IceStorm::TopicManagerPrx.
std::function< void()> getTopicManagerAsync (std::function< void(std::optional<::IceStorm::TopicManagerPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the associated IceStorm::TopicManagerPrx.
FinderPrxoperator= (const FinderPrx &rhs) noexcept
 Copy assignment operator.
FinderPrxoperator= (FinderPrx &&rhs) noexcept
 Move assignment operator.
Public Member Functions inherited from Ice::Proxy< FinderPrx, Ice::ObjectPrx >
FinderPrx ice_adapterId (std::string id) const
 Creates a proxy that is identical to this proxy, except for the adapter ID.
FinderPrx ice_batchDatagram () const
 Creates a proxy that is identical to this proxy, but uses batch datagram invocations.
FinderPrx ice_batchOneway () const
 Creates a proxy that is identical to this proxy, but uses batch oneway invocations.
FinderPrx ice_collocationOptimized (bool b) const
 Creates a proxy that is identical to this proxy, except for collocation optimization.
FinderPrx 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.
FinderPrx ice_connectionCached (bool b) const
 Creates a proxy that is identical to this proxy, except for connection caching.
FinderPrx ice_connectionId (std::string id) const
 Creates a proxy that is identical to this proxy, except for its connection ID.
FinderPrx ice_context (Context context) const
 Creates a proxy that is identical to this proxy, except for the per-proxy context.
FinderPrx ice_datagram () const
 Creates a proxy that is identical to this proxy, but uses datagram invocations.
FinderPrx ice_encodingVersion (EncodingVersion version) const
 Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
FinderPrx ice_endpoints (EndpointSeq endpoints) const
 Creates a proxy that is identical to this proxy, except for the endpoints.
FinderPrx ice_endpointSelection (EndpointSelectionType type) const
 Creates a proxy that is identical to this proxy, except for the endpoint selection policy.
FinderPrx 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.
FinderPrx ice_invocationTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the invocation timeout.
FinderPrx ice_locator (const std::optional< LocatorPrx > &locator) const
 Creates a proxy that is identical to this proxy, except for the locator.
FinderPrx ice_locatorCacheTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the locator cache timeout.
FinderPrx ice_oneway () const
 Creates a proxy that is identical to this proxy, but uses oneway invocations.
FinderPrx ice_router (const std::optional< RouterPrx > &router) const
 Creates a proxy that is identical to this proxy, except for the router.
FinderPrx ice_twoway () const
 Creates a proxy that is identical to this proxy, but uses twoway invocations.
const FinderPrx * 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.

Detailed Description

Provides access to a TopicManagerPrx object via a fixed identity.

An IceStorm Finder is always registered with identity IceStorm/Finder. This allows clients to obtain the associated TopicManager proxy with just the endpoint information of the object. For example, you can use the Finder proxy IceStorm/Finder:tcp -h somehost -p 4061 to get the TopicManager proxy MyIceStorm/TopicManager:tcp -h somehost -p 4061.

Definition at line 533 of file IceStorm.h.


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