Client applications use the Locator object to resolve Ice indirect proxies. More...
#include <Ice/Ice.h>

Public Types | |
| using | ProxyType = LocatorPrx |
| The associated proxy type. | |
Public Member Functions | |
| void | dispatch (IncomingRequest &request, std::function< void(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 std::optional< Ice::ObjectPrx > | findAdapterById (std::string id, const Ice::Current ¤t) const =0 |
| Finds an object adapter by adapter ID and returns a dummy proxy with the object adapter's endpoint(s). | |
| virtual std::optional< Ice::ObjectPrx > | findObjectById (Identity id, const Ice::Current ¤t) 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 std::optional< LocatorRegistryPrx > | getRegistry (const Ice::Current ¤t) const =0 |
| Gets a proxy to the locator registry. | |
| std::string | ice_id (const Ice::Current ¤t) 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 ¤t) const override |
| Gets the Slice interfaces supported by this object as a list of type IDs. | |
| 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 ¤t) const |
| Tests whether this object supports a specific Slice interface. | |
| virtual void | ice_ping (const Current ¤t) const |
| Tests whether this object can be reached. | |
| Object & | operator= (const Object &)=delete |
| Object & | operator= (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::Object | |
| static const char * | ice_staticId () noexcept |
| Gets the type ID of the associated Slice interface. | |
Client applications use the Locator object to resolve Ice indirect proxies.
This object also allows server applications to retrieve a proxy to the associated LocatorRegistryPrx object where they can register their object adapters.