The Lookup interface is used by IceDiscovery clients to look for objects and adapters using UDP multicast.
More...
#include <IceDiscovery/IceDiscovery.h>
|
| virtual void | findAdapterById (::std::string domainId, ::std::string id, ::std::shared_ptr< LookupReplyPrx > reply, const ::Ice::Current ¤t)=0 |
| | Request to find an object adapter.
|
| virtual void | findObjectById (::std::string domainId, ::Ice::Identity id, ::std::shared_ptr< LookupReplyPrx > reply, const ::Ice::Current ¤t)=0 |
| | Request to find an Ice object.
|
| virtual::std::string | ice_id (const ::Ice::Current ¤t) const override |
| | Obtains a Slice type ID representing the most-derived interface supported by this object.
|
| virtual ::std::vector<::std::string > | ice_ids (const ::Ice::Current ¤t) const override |
| | Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
| virtual bool | ice_isA (::std::string id, const ::Ice::Current ¤t) const override |
| | Determines whether this object supports an interface with the given Slice type ID.
|
| virtual bool | ice_dispatch (Ice::Request &request, std::function< bool()> response=nullptr, std::function< bool(std::exception_ptr)> error=nullptr) |
| | Dispatches an invocation to a servant.
|
| virtual std::string | ice_id (const Current ¤t) const |
| | Returns the Slice type ID of the most-derived interface supported by this object.
|
| virtual std::vector< std::string > | ice_ids (const Current ¤t) const |
| | Returns the Slice type IDs of the interfaces supported by this object.
|
| virtual bool | ice_isA (std::string s, 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.
|
| virtual | ~Object ()=default |
|
| static const ::std::string & | ice_staticId () |
| | Obtains the Slice type ID corresponding to this class.
|
| static const std::string & | ice_staticId () |
| | Obtains the Slice type ID of this type.
|
The Lookup interface is used by IceDiscovery clients to look for objects and adapters using UDP multicast.
◆ ProxyType
◆ findAdapterById()
| virtual void IceDiscovery::Lookup::findAdapterById |
( |
::std::string | domainId, |
|
|
::std::string | id, |
|
|
::std::shared_ptr< LookupReplyPrx > | reply, |
|
|
const ::Ice::Current & | current ) |
|
pure virtual |
Request to find an object adapter.
- Parameters
-
| domainId | The IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a matching domain identifier. |
| id | The adapter ID. |
| reply | The proxy of the LookupReply interface that should be used to send the reply if a matching adapter is found. |
| current | The Current object for the invocation. |
◆ findObjectById()
Request to find an Ice object.
- Parameters
-
| domainId | The IceDiscovery domain identifier. An IceDiscovery client only replies to requests with a matching domain identifier. |
| id | The object identity. |
| reply | The proxy of the LookupReply interface that should be used to send the reply if a matching object is found. |
| current | The Current object for the invocation. |
◆ ice_id()
| virtual::std::string IceDiscovery::Lookup::ice_id |
( |
const ::Ice::Current & | current | ) |
const |
|
override |
Obtains a Slice type ID representing the most-derived interface supported by this object.
- Parameters
-
| current | The Current object for the invocation. |
- Returns
- A fully-scoped type ID.
◆ ice_ids()
| virtual ::std::vector<::std::string > IceDiscovery::Lookup::ice_ids |
( |
const ::Ice::Current & | current | ) |
const |
|
override |
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
- Parameters
-
| current | The Current object for the invocation. |
- Returns
- A list of fully-scoped type IDs.
◆ ice_isA()
| virtual bool IceDiscovery::Lookup::ice_isA |
( |
::std::string | id, |
|
|
const ::Ice::Current & | current ) const |
|
overridevirtual |
Determines whether this object supports an interface with the given Slice type ID.
- Parameters
-
| id | The fully-scoped Slice type ID. |
| current | The Current object for the invocation. |
- Returns
- True if this object supports the interface, false, otherwise.
◆ ice_staticId()
| const ::std::string & IceDiscovery::Lookup::ice_staticId |
( |
| ) |
|
|
static |
Obtains the Slice type ID corresponding to this class.
- Returns
- A fully-scoped type ID.
The documentation for this class was generated from the following file: