Looks for a locator using UDP multicast. More...
#include <Lookup.h>
Public Member Functions | |
LookupPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
LookupPrx (const LookupPrx &other) noexcept | |
Copy constructor. | |
LookupPrx (LookupPrx &&other) noexcept | |
Move constructor. | |
void | findLocator (std::string_view instanceName, const std::optional< LookupReplyPrx > &reply, const Ice::Context &context=Ice::noExplicitContext) const |
Finds a locator proxy with the given instanceName . | |
std::future< void > | findLocatorAsync (std::string_view instanceName, const std::optional< LookupReplyPrx > &reply, const Ice::Context &context=Ice::noExplicitContext) const |
Finds a locator proxy with the given instanceName . | |
std::function< void()> | findLocatorAsync (std::string_view instanceName, const std::optional< LookupReplyPrx > &reply, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const |
Finds a locator proxy with the given instanceName . | |
LookupPrx & | operator= (const LookupPrx &rhs) noexcept |
Copy assignment operator. | |
LookupPrx & | operator= (LookupPrx &&rhs) noexcept |
Move assignment operator. | |
Public Member Functions inherited from Ice::Proxy< LookupPrx, Ice::ObjectPrx > | |
LookupPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
LookupPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
LookupPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
LookupPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
LookupPrx | 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. | |
LookupPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
LookupPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
LookupPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
LookupPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
LookupPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
LookupPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
LookupPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
LookupPrx | 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. | |
LookupPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
LookupPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
LookupPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
LookupPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
LookupPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
LookupPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const LookupPrx * | 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. |
Looks for a locator using UDP multicast.