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

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

#include <Ice/Ice.h>

Inheritance diagram for Ice::LocatorFinder:

Public Types

using ProxyType = LocatorFinderPrx
 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< LocatorPrxgetLocator (const Ice::Current &current)=0
 Gets a proxy to the associated Ice::LocatorPrx.
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::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::Object
static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.

Detailed Description

Provides access to a LocatorPrx object via a fixed identity.

A LocatorFinder is always registered with identity Ice/LocatorFinder. This allows clients to obtain the associated Locator proxy with just the endpoint information of the object. For example, you can use the LocatorFinder proxy Ice/LocatorFinder:tcp -h somehost -p 4061 to get the Locator proxy MyIceGrid/Locator:tcp -h somehost -p 4061.

Definition at line 390 of file Locator.h.


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