7#ifndef IceDiscovery_Lookup_h_
8#define IceDiscovery_Lookup_h_
12#include <Ice/Identity.h>
14#ifndef ICE_DISABLE_VERSION
15# if ICE_INT_VERSION != 30850
16# error Ice version mismatch: an exact match is required for beta generated code
49 ~LookupReplyPrx()
override;
96 std::function<void()>
foundObjectByIdAsync(const ::Ice::Identity&
id,
const std::optional<Ice::ObjectPrx>& prx, 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;
99 void _iceI_foundObjectById(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&,
const std::optional<Ice::ObjectPrx>&,
const Ice::Context&)
const;
129 std::function<void()>
foundAdapterByIdAsync(std::string_view
id,
const std::optional<Ice::ObjectPrx>& prx,
bool isReplicaGroup, 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;
132 void _iceI_foundAdapterById(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view,
const std::optional<Ice::ObjectPrx>&,
bool,
const Ice::Context&)
const;
146 explicit LookupReplyPrx(IceInternal::ReferencePtr&& ref) :
Ice::ObjectPrx{std::move(ref)}
168 ~LookupPrx()
override;
224 std::function<void()>
findObjectByIdAsync(std::string_view domainId, const ::Ice::Identity&
id,
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;
227 void _iceI_findObjectById(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view, const ::Ice::Identity&,
const std::optional<LookupReplyPrx>&,
const Ice::Context&)
const;
260 std::function<void()>
findAdapterByIdAsync(std::string_view domainId, std::string_view
id,
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;
263 void _iceI_findAdapterById(
const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view, std::string_view,
const std::optional<LookupReplyPrx>&,
const Ice::Context&)
const;
270 static
LookupPrx _fromReference(IceInternal::ReferencePtr ref) {
return LookupPrx{std::move(ref)}; }
277 explicit LookupPrx(IceInternal::ReferencePtr&& ref) :
Ice::ObjectPrx{std::move(ref)}
283namespace IceDiscovery
328 using LookupReplyPtr = std::shared_ptr<
LookupReply>;
376 using LookupPtr = std::shared_ptr<
Lookup>;
381#include <Ice/PopDisableWarnings.h>
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
std::function< void()> findAdapterByIdAsync(std::string_view domainId, std::string_view id, 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 an object adapter.
std::future< void > findObjectByIdAsync(std::string_view domainId, const ::Ice::Identity &id, const std::optional< LookupReplyPrx > &reply, const Ice::Context &context=Ice::noExplicitContext) const
Finds a well-known Ice object.
LookupPrx(LookupPrx &&other) noexcept
Move constructor.
LookupPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
void findObjectById(std::string_view domainId, const ::Ice::Identity &id, const std::optional< LookupReplyPrx > &reply, const Ice::Context &context=Ice::noExplicitContext) const
Finds a well-known Ice object.
std::function< void()> findObjectByIdAsync(std::string_view domainId, const ::Ice::Identity &id, 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 well-known Ice object.
LookupPrx & operator=(const LookupPrx &rhs) noexcept
Copy assignment operator.
void findAdapterById(std::string_view domainId, std::string_view id, const std::optional< LookupReplyPrx > &reply, const Ice::Context &context=Ice::noExplicitContext) const
Finds an object adapter.
LookupPrx(const LookupPrx &other) noexcept
Copy constructor.
std::future< void > findAdapterByIdAsync(std::string_view domainId, std::string_view id, const std::optional< LookupReplyPrx > &reply, const Ice::Context &context=Ice::noExplicitContext) const
Finds an object adapter.
LookupPrx & operator=(LookupPrx &&rhs) noexcept
Move assignment operator.
Looks up objects and object adapters using UDP multicast.
std::function< void()> foundObjectByIdAsync(const ::Ice::Identity &id, const std::optional< Ice::ObjectPrx > &prx, 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
Provides a reply to a IceDiscovery::LookupPrx::findObjectById request.
LookupReplyPrx(const LookupReplyPrx &other) noexcept
Copy constructor.
std::function< void()> foundAdapterByIdAsync(std::string_view id, const std::optional< Ice::ObjectPrx > &prx, bool isReplicaGroup, 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
Provides a reply to a IceDiscovery::LookupPrx::findAdapterById request.
void foundObjectById(const ::Ice::Identity &id, const std::optional< Ice::ObjectPrx > &prx, const Ice::Context &context=Ice::noExplicitContext) const
Provides a reply to a IceDiscovery::LookupPrx::findObjectById request.
LookupReplyPrx(LookupReplyPrx &&other) noexcept
Move constructor.
void foundAdapterById(std::string_view id, const std::optional< Ice::ObjectPrx > &prx, bool isReplicaGroup, const Ice::Context &context=Ice::noExplicitContext) const
Provides a reply to a IceDiscovery::LookupPrx::findAdapterById request.
LookupReplyPrx & operator=(LookupReplyPrx &&rhs) noexcept
Move assignment operator.
std::future< void > foundAdapterByIdAsync(std::string_view id, const std::optional< Ice::ObjectPrx > &prx, bool isReplicaGroup, const Ice::Context &context=Ice::noExplicitContext) const
Provides a reply to a IceDiscovery::LookupPrx::findAdapterById request.
LookupReplyPrx & operator=(const LookupReplyPrx &rhs) noexcept
Copy assignment operator.
std::future< void > foundObjectByIdAsync(const ::Ice::Identity &id, const std::optional< Ice::ObjectPrx > &prx, const Ice::Context &context=Ice::noExplicitContext) const
Provides a reply to a IceDiscovery::LookupPrx::findObjectById request.
LookupReplyPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
Represents a callback object implemented by IceDiscovery clients.
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,...
virtual void foundAdapterById(std::string id, std::optional< Ice::ObjectPrx > prx, bool isReplicaGroup, const Ice::Current ¤t)=0
Provides a reply to a IceDiscovery::LookupPrx::findAdapterById request.
virtual void foundObjectById(::Ice::Identity id, std::optional< Ice::ObjectPrx > prx, const Ice::Current ¤t)=0
Provides a reply to a IceDiscovery::LookupPrx::findObjectById request.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
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.
LookupReplyPrx ProxyType
The associated proxy type.
Represents a callback object implemented by IceDiscovery clients.
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,...
LookupPrx ProxyType
The associated proxy type.
virtual void findObjectById(std::string domainId, ::Ice::Identity id, std::optional< LookupReplyPrx > reply, const Ice::Current ¤t)=0
Finds a well-known Ice object.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
virtual void findAdapterById(std::string domainId, std::string id, std::optional< LookupReplyPrx > reply, const Ice::Current ¤t)=0
Finds an object adapter.
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.
Looks up objects and object adapters using UDP multicast.
Represents a request received by a connection.
ObjectPrx & operator=(const ObjectPrx &rhs) noexcept=default
Copy assignment operator.
The base class for all Ice proxies.
Object() noexcept=default
Default constructor.
The base class for servants.
Represents the response to an incoming request.
Provides typed proxy functions.
std::shared_ptr< Communicator > CommunicatorPtr
A shared pointer to a Communicator.
const Context noExplicitContext
Marker value used to indicate that no explicit request context was passed to a proxy invocation.
std::map< std::string, std::string, std::less<> > Context
Represents additional information carried by an Ice request.
Provides information about an incoming request being dispatched.
Represents the identity of an Ice object.