Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
IceGrid::LocatorPrx Class Reference

Provides access to the QueryPrx and RegistryPrx objects implemented by the IceGrid registry. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::LocatorPrx:

Public Member Functions

 LocatorPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
 Constructs a proxy from a Communicator and a proxy string.
 LocatorPrx (const LocatorPrx &other) noexcept
 Copy constructor.
 LocatorPrx (LocatorPrx &&other) noexcept
 Move constructor.
std::optional< QueryPrxgetLocalQuery (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the query object hosted by this IceGrid registry.
std::future< std::optional< QueryPrx > > getLocalQueryAsync (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the query object hosted by this IceGrid registry.
std::function< void()> getLocalQueryAsync (std::function< void(std::optional<::IceGrid::QueryPrx >)> 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 query object hosted by this IceGrid registry.
std::optional< RegistryPrxgetLocalRegistry (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the registry object hosted by this IceGrid registry.
std::future< std::optional< RegistryPrx > > getLocalRegistryAsync (const Ice::Context &context=Ice::noExplicitContext) const
 Gets a proxy to the registry object hosted by this IceGrid registry.
std::function< void()> getLocalRegistryAsync (std::function< void(std::optional<::IceGrid::RegistryPrx >)> 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 registry object hosted by this IceGrid registry.
LocatorPrxoperator= (const LocatorPrx &rhs) noexcept
 Copy assignment operator.
LocatorPrxoperator= (LocatorPrx &&rhs) noexcept
 Move assignment operator.
Public Member Functions inherited from Ice::Proxy< LocatorPrx, ::Ice::LocatorPrx >
LocatorPrx ice_adapterId (std::string id) const
 Creates a proxy that is identical to this proxy, except for the adapter ID.
LocatorPrx ice_batchDatagram () const
 Creates a proxy that is identical to this proxy, but uses batch datagram invocations.
LocatorPrx ice_batchOneway () const
 Creates a proxy that is identical to this proxy, but uses batch oneway invocations.
LocatorPrx ice_collocationOptimized (bool b) const
 Creates a proxy that is identical to this proxy, except for collocation optimization.
LocatorPrx 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.
LocatorPrx ice_connectionCached (bool b) const
 Creates a proxy that is identical to this proxy, except for connection caching.
LocatorPrx ice_connectionId (std::string id) const
 Creates a proxy that is identical to this proxy, except for its connection ID.
LocatorPrx ice_context (Context context) const
 Creates a proxy that is identical to this proxy, except for the per-proxy context.
LocatorPrx ice_datagram () const
 Creates a proxy that is identical to this proxy, but uses datagram invocations.
LocatorPrx ice_encodingVersion (EncodingVersion version) const
 Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
LocatorPrx ice_endpoints (EndpointSeq endpoints) const
 Creates a proxy that is identical to this proxy, except for the endpoints.
LocatorPrx ice_endpointSelection (EndpointSelectionType type) const
 Creates a proxy that is identical to this proxy, except for the endpoint selection policy.
LocatorPrx 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.
LocatorPrx ice_invocationTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the invocation timeout.
LocatorPrx ice_locator (const std::optional< LocatorPrx > &locator) const
 Creates a proxy that is identical to this proxy, except for the locator.
LocatorPrx ice_locatorCacheTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the locator cache timeout.
LocatorPrx ice_oneway () const
 Creates a proxy that is identical to this proxy, but uses oneway invocations.
LocatorPrx ice_router (const std::optional< RouterPrx > &router) const
 Creates a proxy that is identical to this proxy, except for the router.
LocatorPrx ice_twoway () const
 Creates a proxy that is identical to this proxy, but uses twoway invocations.
const LocatorPrxoperator-> () 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 the QueryPrx and RegistryPrx objects implemented by the IceGrid registry.

Definition at line 476 of file Registry.h.


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