|
RTC Toolkit
2.0.0
|
Class that implements a very basic service discovery mechanism. More...
#include <fileServiceRegistryAdapter.hpp>
Public Member Functions | |
| FileServiceRegistryAdapter (const elt::mal::Uri &endpoint) | |
| std::vector< std::string > | ListComponents () override |
| Get known components. More... | |
| ServiceEndpoint | Get (const std::string &comp_name, const std::string &service_name) override |
| Get endpoint of specific service of a specific component. More... | |
| ServiceEndpoint | GetOldbEndpoint () override |
| Get the Oldb Endpoint from the service registry. More... | |
| ServiceEndpoint | GetRuntimeRepoEndpoint () override |
| Get the Runtime Repository Endpoint from the service registry. More... | |
| ServiceEndpoint | GetPersistentRepoEndpoint () override |
| Get the Persistent Repository Endpoint from the service registry. More... | |
Public Member Functions inherited from rtctk::componentFramework::ServiceRegistryIf | |
| virtual | ~ServiceRegistryIf ()=default |
| virtual destructor More... | |
Additional Inherited Members | |
Public Types inherited from rtctk::componentFramework::ServiceRegistryIf | |
| using | ServiceEndpoint = elt::mal::Uri |
Static Public Attributes inherited from rtctk::componentFramework::ServiceRegistryIf | |
| static const std::string | REQ_REP_ENDPOINT = "req_rep_endpoint" |
| the string used to identify the Request/Reply endpoint of a service when using the Get function. More... | |
| static const std::string | PUB_SUB_ENDPOINT = "pub_sub_endpoint" |
| the string used to identify the PubSub endpoint of a service when using the Get function. More... | |
Class that implements a very basic service discovery mechanism.
| rtctk::componentFramework::FileServiceRegistryAdapter::FileServiceRegistryAdapter | ( | const elt::mal::Uri & | endpoint | ) |
|
overridevirtual |
Get endpoint of specific service of a specific component.
| comp_name | name of the component instance |
| service_name | name of the service, Must be one of the REQ_REP_ENDPOINT or PUB_SUB_ENDPOINT contants defined in ServiceRegistryIf |
| InvalidService | if service_name or InvalidComponent if comp_name invalid |
Implements rtctk::componentFramework::ServiceRegistryIf.
|
overridevirtual |
Get the Oldb Endpoint from the service registry.
Implements rtctk::componentFramework::ServiceRegistryIf.
|
overridevirtual |
Get the Persistent Repository Endpoint from the service registry.
Implements rtctk::componentFramework::ServiceRegistryIf.
|
overridevirtual |
Get the Runtime Repository Endpoint from the service registry.
Implements rtctk::componentFramework::ServiceRegistryIf.
|
overridevirtual |
Get known components.
Use this method to retrieve all components known to the service registry
Implements rtctk::componentFramework::ServiceRegistryIf.