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

Finds well-known Ice objects registered with the IceGrid registry. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::QueryPrx:

Public Member Functions

 QueryPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
 Constructs a proxy from a Communicator and a proxy string.
 QueryPrx (const QueryPrx &other) noexcept
 Copy constructor.
 QueryPrx (QueryPrx &&other) noexcept
 Move constructor.
::Ice::ObjectProxySeq findAllObjectsByType (std::string_view type, const Ice::Context &context=Ice::noExplicitContext) const
 Finds all the well-known objects with the given type.
std::future<::Ice::ObjectProxySeqfindAllObjectsByTypeAsync (std::string_view type, const Ice::Context &context=Ice::noExplicitContext) const
 Finds all the well-known objects with the given type.
std::function< void()> findAllObjectsByTypeAsync (std::string_view type, std::function< void(::Ice::ObjectProxySeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Finds all the well-known objects with the given type.
::Ice::ObjectProxySeq findAllReplicas (const std::optional< Ice::ObjectPrx > &proxy, const Ice::Context &context=Ice::noExplicitContext) const
 Finds all the replicas of a well-known object.
std::future<::Ice::ObjectProxySeqfindAllReplicasAsync (const std::optional< Ice::ObjectPrx > &proxy, const Ice::Context &context=Ice::noExplicitContext) const
 Finds all the replicas of a well-known object.
std::function< void()> findAllReplicasAsync (const std::optional< Ice::ObjectPrx > &proxy, std::function< void(::Ice::ObjectProxySeq)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Finds all the replicas of a well-known object.
std::optional< Ice::ObjectPrxfindObjectById (const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const
 Finds a well-known object by identity.
std::future< std::optional< Ice::ObjectPrx > > findObjectByIdAsync (const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const
 Finds a well-known object by identity.
std::function< void()> findObjectByIdAsync (const ::Ice::Identity &id, std::function< void(std::optional< Ice::ObjectPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Finds a well-known object by identity.
std::optional< Ice::ObjectPrxfindObjectByType (std::string_view type, const Ice::Context &context=Ice::noExplicitContext) const
 Finds a well-known object by type.
std::future< std::optional< Ice::ObjectPrx > > findObjectByTypeAsync (std::string_view type, const Ice::Context &context=Ice::noExplicitContext) const
 Finds a well-known object by type.
std::function< void()> findObjectByTypeAsync (std::string_view type, std::function< void(std::optional< Ice::ObjectPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Finds a well-known object by type.
std::optional< Ice::ObjectPrxfindObjectByTypeOnLeastLoadedNode (std::string_view type, LoadSample sample, const Ice::Context &context=Ice::noExplicitContext) const
 Finds a well-known object by type on the least-loaded node.
std::future< std::optional< Ice::ObjectPrx > > findObjectByTypeOnLeastLoadedNodeAsync (std::string_view type, LoadSample sample, const Ice::Context &context=Ice::noExplicitContext) const
 Finds a well-known object by type on the least-loaded node.
std::function< void()> findObjectByTypeOnLeastLoadedNodeAsync (std::string_view type, LoadSample sample, std::function< void(std::optional< Ice::ObjectPrx >)> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Finds a well-known object by type on the least-loaded node.
QueryPrxoperator= (const QueryPrx &rhs) noexcept
 Copy assignment operator.
QueryPrxoperator= (QueryPrx &&rhs) noexcept
 Move assignment operator.
Public Member Functions inherited from Ice::Proxy< QueryPrx, Ice::ObjectPrx >
QueryPrx ice_adapterId (std::string id) const
 Creates a proxy that is identical to this proxy, except for the adapter ID.
QueryPrx ice_batchDatagram () const
 Creates a proxy that is identical to this proxy, but uses batch datagram invocations.
QueryPrx ice_batchOneway () const
 Creates a proxy that is identical to this proxy, but uses batch oneway invocations.
QueryPrx ice_collocationOptimized (bool b) const
 Creates a proxy that is identical to this proxy, except for collocation optimization.
QueryPrx 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.
QueryPrx ice_connectionCached (bool b) const
 Creates a proxy that is identical to this proxy, except for connection caching.
QueryPrx ice_connectionId (std::string id) const
 Creates a proxy that is identical to this proxy, except for its connection ID.
QueryPrx ice_context (Context context) const
 Creates a proxy that is identical to this proxy, except for the per-proxy context.
QueryPrx ice_datagram () const
 Creates a proxy that is identical to this proxy, but uses datagram invocations.
QueryPrx ice_encodingVersion (EncodingVersion version) const
 Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
QueryPrx ice_endpoints (EndpointSeq endpoints) const
 Creates a proxy that is identical to this proxy, except for the endpoints.
QueryPrx ice_endpointSelection (EndpointSelectionType type) const
 Creates a proxy that is identical to this proxy, except for the endpoint selection policy.
QueryPrx 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.
QueryPrx ice_invocationTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the invocation timeout.
QueryPrx ice_locator (const std::optional< LocatorPrx > &locator) const
 Creates a proxy that is identical to this proxy, except for the locator.
QueryPrx ice_locatorCacheTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the locator cache timeout.
QueryPrx ice_oneway () const
 Creates a proxy that is identical to this proxy, but uses oneway invocations.
QueryPrx ice_router (const std::optional< RouterPrx > &router) const
 Creates a proxy that is identical to this proxy, except for the router.
QueryPrx ice_twoway () const
 Creates a proxy that is identical to this proxy, but uses twoway invocations.
const QueryPrx * 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

Finds well-known Ice objects registered with the IceGrid registry.

Definition at line 66 of file Registry.h.


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