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

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

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::AsyncLocator:

Public Types

using ProxyType = LocatorPrx
 The associated proxy type.
Public Types inherited from Ice::AsyncLocator
using ProxyType = LocatorPrx
 The associated proxy type.

Public Member Functions

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 getLocalQueryAsync (std::function< void(const std::optional< QueryPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets a proxy to the query object hosted by this IceGrid registry.
virtual void getLocalRegistryAsync (std::function< void(const std::optional< RegistryPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets a proxy to the registry object hosted by this IceGrid registry.
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.
Public Member Functions inherited from Ice::AsyncLocator
virtual void findAdapterByIdAsync (std::string id, std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Finds an object adapter by adapter ID and returns a dummy proxy with the object adapter's endpoint(s).
virtual void findObjectByIdAsync (Identity id, std::function< void(const std::optional< Ice::ObjectPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Finds an object by identity and returns a dummy proxy with the endpoint(s) that can be used to reach this object.
virtual void getRegistryAsync (std::function< void(const std::optional< LocatorRegistryPrx > &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current) const =0
 Gets a proxy to the locator registry.
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::AsyncLocator
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

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

Definition at line 960 of file Registry.h.


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