Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Lookup.h
1// Copyright (c) ZeroC, Inc.
2
3// slice2cpp version 3.8.0-alpha.0
4// <auto-generated>Generated from Slice file 'Lookup.ice'.</auto-generated>
5// clang-format off
6
7#ifndef IceDiscovery_Lookup_h_
8#define IceDiscovery_Lookup_h_
9
11#include <Ice/Ice.h>
12#include <Ice/Identity.h>
13
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
17# endif
18#endif
19
20// NOLINTBEGIN(modernize-concat-nested-namespaces)
21
22namespace IceDiscovery
23{
24 class LookupReplyPrx;
25
26 class LookupPrx;
27}
28
29namespace IceDiscovery
30{
31 /// Represents a callback object implemented by IceDiscovery clients. It allows IceDiscovery clients to receive
32 /// replies to LookupPrx requests.
33 class LookupReplyPrx : public Ice::Proxy<LookupReplyPrx, Ice::ObjectPrx>
34 {
35 public:
36 /// Constructs a proxy from a Communicator and a proxy string.
37 /// @param communicator The communicator of the new proxy.
38 /// @param proxyString The proxy string to parse.
39 LookupReplyPrx(const Ice::CommunicatorPtr& communicator, std::string_view proxyString) : Ice::ObjectPrx{communicator, proxyString} {} // NOLINT(modernize-use-equals-default)
40
41 /// Copy constructor. Constructs with a copy of the contents of @p other.
42 /// @param other The proxy to copy from.
43 LookupReplyPrx(const LookupReplyPrx& other) noexcept : Ice::ObjectPrx{other} {} // NOLINT(modernize-use-equals-default)
44
45 /// Move constructor. Constructs a proxy with the contents of @p other using move semantics.
46 /// @param other The proxy to move from.
47 LookupReplyPrx(LookupReplyPrx&& other) noexcept : Ice::ObjectPrx{std::move(other)} {} // NOLINT(modernize-use-equals-default)
48
49 ~LookupReplyPrx() override;
50
51 /// Copy assignment operator. Replaces the contents of this proxy with a copy of the contents of @p rhs.
52 /// @param rhs The proxy to copy from.
53 /// @return A reference to this proxy.
55 {
56 if (this != &rhs)
57 {
59 }
60 return *this;
61 }
62
63 /// Move assignment operator. Replaces the contents of this proxy with the contents of @p rhs using move semantics.
64 /// @param rhs The proxy to move from.
66 {
67 if (this != &rhs)
68 {
69 Ice::ObjectPrx::operator=(std::move(rhs));
70 }
71 return *this;
72 }
73
74 /// Provides a reply to a ::IceDiscovery::LookupPrx::findObjectById request.
75 /// @param id The identity of the object.
76 /// @param prx The proxy of the object. This proxy is never null.
77 /// @param context The request context.
78 void foundObjectById(const ::Ice::Identity& id, const std::optional<Ice::ObjectPrx>& prx, const Ice::Context& context = Ice::noExplicitContext) const;
79
80 /// Provides a reply to a ::IceDiscovery::LookupPrx::findObjectById request.
81 /// @param id The identity of the object.
82 /// @param prx The proxy of the object. This proxy is never null.
83 /// @param context The request context.
84 /// @return A future that becomes available when the invocation completes.
85 [[nodiscard]] std::future<void> foundObjectByIdAsync(const ::Ice::Identity& id, const std::optional<Ice::ObjectPrx>& prx, const Ice::Context& context = Ice::noExplicitContext) const;
86
87 /// Provides a reply to a ::IceDiscovery::LookupPrx::findObjectById request.
88 /// @param id The identity of the object.
89 /// @param prx The proxy of the object. This proxy is never null.
90 /// @param response The response callback.
91 /// @param exception The exception callback.
92 /// @param sent The sent callback.
93 /// @param context The request context.
94 /// @return A function that can be called to cancel the invocation locally.
95 // NOLINTNEXTLINE(modernize-use-nodiscard)
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;
97
98 /// @private
99 void _iceI_foundObjectById(const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&, const std::optional<Ice::ObjectPrx>&, const Ice::Context&) const;
100
101 /// Provides a reply to a ::IceDiscovery::LookupPrx::findAdapterById request.
102 /// @param id The adapter ID.
103 /// @param prx The adapter proxy (a dummy proxy created by the adapter). The proxy provides the adapter
104 /// endpoints. This proxy is never null.
105 /// @param isReplicaGroup Indicates whether the adapter is a member of a replica group.
106 /// @param context The request context.
107 void foundAdapterById(std::string_view id, const std::optional<Ice::ObjectPrx>& prx, bool isReplicaGroup, const Ice::Context& context = Ice::noExplicitContext) const;
108
109 /// Provides a reply to a ::IceDiscovery::LookupPrx::findAdapterById request.
110 /// @param id The adapter ID.
111 /// @param prx The adapter proxy (a dummy proxy created by the adapter). The proxy provides the adapter
112 /// endpoints. This proxy is never null.
113 /// @param isReplicaGroup Indicates whether the adapter is a member of a replica group.
114 /// @param context The request context.
115 /// @return A future that becomes available when the invocation completes.
116 [[nodiscard]] std::future<void> foundAdapterByIdAsync(std::string_view id, const std::optional<Ice::ObjectPrx>& prx, bool isReplicaGroup, const Ice::Context& context = Ice::noExplicitContext) const;
117
118 /// Provides a reply to a ::IceDiscovery::LookupPrx::findAdapterById request.
119 /// @param id The adapter ID.
120 /// @param prx The adapter proxy (a dummy proxy created by the adapter). The proxy provides the adapter
121 /// endpoints. This proxy is never null.
122 /// @param isReplicaGroup Indicates whether the adapter is a member of a replica group.
123 /// @param response The response callback.
124 /// @param exception The exception callback.
125 /// @param sent The sent callback.
126 /// @param context The request context.
127 /// @return A function that can be called to cancel the invocation locally.
128 // NOLINTNEXTLINE(modernize-use-nodiscard)
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;
130
131 /// @private
132 void _iceI_foundAdapterById(const std::shared_ptr<IceInternal::OutgoingAsyncT<void>>&, std::string_view, const std::optional<Ice::ObjectPrx>&, bool, const Ice::Context&) const;
133
134 /// Gets the type ID of the associated Slice interface.
135 /// @return The string `"::IceDiscovery::LookupReply"`.
136 static const char* ice_staticId() noexcept;
137
138 /// @private
139 static LookupReplyPrx _fromReference(IceInternal::ReferencePtr ref) { return LookupReplyPrx{std::move(ref)}; }
140
141 protected:
142 /// @private
143 LookupReplyPrx() = default;
144
145 /// @private
146 explicit LookupReplyPrx(IceInternal::ReferencePtr&& ref) : Ice::ObjectPrx{std::move(ref)}
147 {
148 }
149 };
150
151 /// Looks up objects and object adapters using UDP multicast.
152 class LookupPrx : public Ice::Proxy<LookupPrx, Ice::ObjectPrx>
153 {
154 public:
155 /// Constructs a proxy from a Communicator and a proxy string.
156 /// @param communicator The communicator of the new proxy.
157 /// @param proxyString The proxy string to parse.
158 LookupPrx(const Ice::CommunicatorPtr& communicator, std::string_view proxyString) : Ice::ObjectPrx{communicator, proxyString} {} // NOLINT(modernize-use-equals-default)
159
160 /// Copy constructor. Constructs with a copy of the contents of @p other.
161 /// @param other The proxy to copy from.
162 LookupPrx(const LookupPrx& other) noexcept : Ice::ObjectPrx{other} {} // NOLINT(modernize-use-equals-default)
163
164 /// Move constructor. Constructs a proxy with the contents of @p other using move semantics.
165 /// @param other The proxy to move from.
166 LookupPrx(LookupPrx&& other) noexcept : Ice::ObjectPrx{std::move(other)} {} // NOLINT(modernize-use-equals-default)
167
168 ~LookupPrx() override;
169
170 /// Copy assignment operator. Replaces the contents of this proxy with a copy of the contents of @p rhs.
171 /// @param rhs The proxy to copy from.
172 /// @return A reference to this proxy.
173 LookupPrx& operator=(const LookupPrx& rhs) noexcept
174 {
175 if (this != &rhs)
176 {
178 }
179 return *this;
180 }
181
182 /// Move assignment operator. Replaces the contents of this proxy with the contents of @p rhs using move semantics.
183 /// @param rhs The proxy to move from.
185 {
186 if (this != &rhs)
187 {
188 Ice::ObjectPrx::operator=(std::move(rhs));
189 }
190 return *this;
191 }
192
193 /// Finds a well-known Ice object.
194 /// @param domainId The IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a
195 /// matching domain identifier.
196 /// @param id The well-known object identity.
197 /// @param reply The proxy of the ::IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a
198 /// matching object is found. The reply proxy is never null.
199 /// @param context The request context.
200 void findObjectById(std::string_view domainId, const ::Ice::Identity& id, const std::optional<LookupReplyPrx>& reply, const Ice::Context& context = Ice::noExplicitContext) const;
201
202 /// Finds a well-known Ice object.
203 /// @param domainId The IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a
204 /// matching domain identifier.
205 /// @param id The well-known object identity.
206 /// @param reply The proxy of the ::IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a
207 /// matching object is found. The reply proxy is never null.
208 /// @param context The request context.
209 /// @return A future that becomes available when the invocation completes.
210 [[nodiscard]] std::future<void> findObjectByIdAsync(std::string_view domainId, const ::Ice::Identity& id, const std::optional<LookupReplyPrx>& reply, const Ice::Context& context = Ice::noExplicitContext) const;
211
212 /// Finds a well-known Ice object.
213 /// @param domainId The IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a
214 /// matching domain identifier.
215 /// @param id The well-known object identity.
216 /// @param reply The proxy of the ::IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a
217 /// matching object is found. The reply proxy is never null.
218 /// @param response The response callback.
219 /// @param exception The exception callback.
220 /// @param sent The sent callback.
221 /// @param context The request context.
222 /// @return A function that can be called to cancel the invocation locally.
223 // NOLINTNEXTLINE(modernize-use-nodiscard)
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;
225
226 /// @private
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;
228
229 /// Finds an object adapter.
230 /// @param domainId The IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a
231 /// matching domain identifier.
232 /// @param id The adapter ID.
233 /// @param reply The proxy of the ::IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a
234 /// matching adapter is found. The reply proxy is never null.
235 /// @param context The request context.
236 void findAdapterById(std::string_view domainId, std::string_view id, const std::optional<LookupReplyPrx>& reply, const Ice::Context& context = Ice::noExplicitContext) const;
237
238 /// Finds an object adapter.
239 /// @param domainId The IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a
240 /// matching domain identifier.
241 /// @param id The adapter ID.
242 /// @param reply The proxy of the ::IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a
243 /// matching adapter is found. The reply proxy is never null.
244 /// @param context The request context.
245 /// @return A future that becomes available when the invocation completes.
246 [[nodiscard]] std::future<void> findAdapterByIdAsync(std::string_view domainId, std::string_view id, const std::optional<LookupReplyPrx>& reply, const Ice::Context& context = Ice::noExplicitContext) const;
247
248 /// Finds an object adapter.
249 /// @param domainId The IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a
250 /// matching domain identifier.
251 /// @param id The adapter ID.
252 /// @param reply The proxy of the ::IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a
253 /// matching adapter is found. The reply proxy is never null.
254 /// @param response The response callback.
255 /// @param exception The exception callback.
256 /// @param sent The sent callback.
257 /// @param context The request context.
258 /// @return A function that can be called to cancel the invocation locally.
259 // NOLINTNEXTLINE(modernize-use-nodiscard)
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;
261
262 /// @private
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;
264
265 /// Gets the type ID of the associated Slice interface.
266 /// @return The string `"::IceDiscovery::Lookup"`.
267 static const char* ice_staticId() noexcept;
268
269 /// @private
270 static LookupPrx _fromReference(IceInternal::ReferencePtr ref) { return LookupPrx{std::move(ref)}; }
271
272 protected:
273 /// @private
274 LookupPrx() = default;
275
276 /// @private
277 explicit LookupPrx(IceInternal::ReferencePtr&& ref) : Ice::ObjectPrx{std::move(ref)}
278 {
279 }
280 };
281}
282
283namespace IceDiscovery
284{
285 /// Represents a callback object implemented by IceDiscovery clients. It allows IceDiscovery clients to receive
286 /// replies to LookupPrx requests.
287 class LookupReply : public virtual Ice::Object
288 {
289 public:
290 /// The associated proxy type.
292
293 /// Dispatches an incoming request to one of the member functions of this generated class, based on the operation name carried by the request.
294 /// @param request The incoming request.
295 /// @param sendResponse The callback to send the response.
296 void dispatch(Ice::IncomingRequest& request, std::function<void(Ice::OutgoingResponse)> sendResponse) override;
297
298 [[nodiscard]] std::vector<std::string> ice_ids(const Ice::Current& current) const override;
299
300 [[nodiscard]] std::string ice_id(const Ice::Current& current) const override;
301
302 /// Provides a reply to a ::IceDiscovery::LookupPrx::findObjectById request.
303 /// @param id The identity of the object.
304 /// @param prx The proxy of the object. This proxy is never null.
305 /// @param current The Current object of the incoming request.
306 virtual void foundObjectById(::Ice::Identity id, std::optional<Ice::ObjectPrx> prx, const Ice::Current& current) = 0;
307
308 /// @private
309 void _iceD_foundObjectById(Ice::IncomingRequest&, std::function<void(Ice::OutgoingResponse)>);
310
311 /// Provides a reply to a ::IceDiscovery::LookupPrx::findAdapterById request.
312 /// @param id The adapter ID.
313 /// @param prx The adapter proxy (a dummy proxy created by the adapter). The proxy provides the adapter
314 /// endpoints. This proxy is never null.
315 /// @param isReplicaGroup Indicates whether the adapter is a member of a replica group.
316 /// @param current The Current object of the incoming request.
317 virtual void foundAdapterById(std::string id, std::optional<Ice::ObjectPrx> prx, bool isReplicaGroup, const Ice::Current& current) = 0;
318
319 /// @private
320 void _iceD_foundAdapterById(Ice::IncomingRequest&, std::function<void(Ice::OutgoingResponse)>);
321
322 /// Gets the type ID of the associated Slice interface.
323 /// @return The string `"::IceDiscovery::LookupReply"`.
324 static const char* ice_staticId() noexcept;
325 };
326
327 /// A shared pointer to a LookupReply.
328 using LookupReplyPtr = std::shared_ptr<LookupReply>;
329
330 /// Looks up objects and object adapters using UDP multicast.
331 class Lookup : public virtual Ice::Object
332 {
333 public:
334 /// The associated proxy type.
336
337 /// Dispatches an incoming request to one of the member functions of this generated class, based on the operation name carried by the request.
338 /// @param request The incoming request.
339 /// @param sendResponse The callback to send the response.
340 void dispatch(Ice::IncomingRequest& request, std::function<void(Ice::OutgoingResponse)> sendResponse) override;
341
342 [[nodiscard]] std::vector<std::string> ice_ids(const Ice::Current& current) const override;
343
344 [[nodiscard]] std::string ice_id(const Ice::Current& current) const override;
345
346 /// Finds a well-known Ice object.
347 /// @param domainId The IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a
348 /// matching domain identifier.
349 /// @param id The well-known object identity.
350 /// @param reply The proxy of the ::IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a
351 /// matching object is found. The reply proxy is never null.
352 /// @param current The Current object of the incoming request.
353 virtual void findObjectById(std::string domainId, ::Ice::Identity id, std::optional<LookupReplyPrx> reply, const Ice::Current& current) = 0;
354
355 /// @private
356 void _iceD_findObjectById(Ice::IncomingRequest&, std::function<void(Ice::OutgoingResponse)>);
357
358 /// Finds an object adapter.
359 /// @param domainId The IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a
360 /// matching domain identifier.
361 /// @param id The adapter ID.
362 /// @param reply The proxy of the ::IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a
363 /// matching adapter is found. The reply proxy is never null.
364 /// @param current The Current object of the incoming request.
365 virtual void findAdapterById(std::string domainId, std::string id, std::optional<LookupReplyPrx> reply, const Ice::Current& current) = 0;
366
367 /// @private
368 void _iceD_findAdapterById(Ice::IncomingRequest&, std::function<void(Ice::OutgoingResponse)>);
369
370 /// Gets the type ID of the associated Slice interface.
371 /// @return The string `"::IceDiscovery::Lookup"`.
372 static const char* ice_staticId() noexcept;
373 };
374
375 /// A shared pointer to a Lookup.
376 using LookupPtr = std::shared_ptr<Lookup>;
377}
378
379// NOLINTEND(modernize-concat-nested-namespaces)
380
381#include <Ice/PopDisableWarnings.h>
382#endif
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.
Definition Lookup.h:166
LookupPrx(const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
Constructs a proxy from a Communicator and a proxy string.
Definition Lookup.h:158
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.
Definition Lookup.h:173
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.
Definition Lookup.h:162
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.
Definition Lookup.h:184
Looks up objects and object adapters using UDP multicast.
Definition Lookup.h:153
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.
Definition Lookup.h:43
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.
Definition Lookup.h:47
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.
Definition Lookup.h:65
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.
Definition Lookup.h:54
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.
Definition Lookup.h:39
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice interface.
Represents a callback object implemented by IceDiscovery clients.
Definition Lookup.h:34
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 &current)=0
Provides a reply to a IceDiscovery::LookupPrx::findAdapterById request.
virtual void foundObjectById(::Ice::Identity id, std::optional< Ice::ObjectPrx > prx, const Ice::Current &current)=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 &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.
LookupReplyPrx ProxyType
The associated proxy type.
Definition Lookup.h:291
Represents a callback object implemented by IceDiscovery clients.
Definition Lookup.h:288
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.
Definition Lookup.h:335
virtual void findObjectById(std::string domainId, ::Ice::Identity id, std::optional< LookupReplyPrx > reply, const Ice::Current &current)=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 &current)=0
Finds an object adapter.
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.
Looks up objects and object adapters using UDP multicast.
Definition Lookup.h:332
Represents a request received by a connection.
ObjectPrx & operator=(const ObjectPrx &rhs) noexcept=default
Copy assignment operator.
The base class for all Ice proxies.
Definition Proxy.h:232
Object() noexcept=default
Default constructor.
The base class for servants.
Definition Object.h:21
Represents the response to an incoming request.
Provides typed proxy functions.
Definition Proxy.h:45
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.
Definition Context.h:28
The Ice RPC framework.
Definition SampleEvent.h:59
Provides information about an incoming request being dispatched.
Definition Current.h:18
Represents the identity of an Ice object.
Definition Identity.h:40