|
rad
2.0.0
|
#include <replier.hpp>
Public Member Functions | |
| Replier (const elt::mal::Uri &uri, const std::optional< elt::mal::Mal::Properties > mal_properties={}) | |
| ~Replier () | |
| template<class SERVICE_TYPE > | |
| void | RegisterService (const std::string &name, std::shared_ptr< SERVICE_TYPE > service) |
| void | UnregisterService (const std::string &name) |
| Replier (const Replier &)=delete | |
| Replier & | operator= (const Replier &)=delete |
| Replier (const elt::mal::Uri &uri, const std::optional< elt::mal::Mal::Properties > mal_properties={}) | |
| ~Replier () | |
| template<class SERVICE_TYPE > | |
| void | RegisterService (const std::string &name, std::shared_ptr< SERVICE_TYPE > service) |
| void | UnregisterService (const std::string &name) |
| Replier (const Replier &)=delete | |
| Replier & | operator= (const Replier &)=delete |
| Replier (const elt::mal::Uri &uri, const std::optional< elt::mal::Mal::Properties > mal_properties={}) | |
| ~Replier () | |
| template<class SERVICE_TYPE > | |
| void | RegisterService (const std::string &name, std::shared_ptr< SERVICE_TYPE > service) |
| void | UnregisterService (const std::string &name) |
| Replier (const Replier &)=delete | |
| Replier & | operator= (const Replier &)=delete |
This class can be used to handle incoming requests and send related replies.
|
inline |
This constructor creates a MAL Server and runs it on a dedicated thread.
| uri | URI for the interface realized by the Server. |
| mal_properties | QoS for the request/reply. |
|
inline |
This destructor shutdown the MAL Server closing any pending connection and terminating the associated thread.
|
delete |
|
inline |
This constructor creates a MAL Server and runs it on a dedicated thread.
| uri | URI for the interface realized by the Server. |
| mal_properties | QoS for the request/reply. |
|
inline |
This destructor shutdown the MAL Server closing any pending connection and terminating the associated thread.
|
delete |
|
inline |
This constructor creates a MAL Server and runs it on a dedicated thread.
| uri | URI for the interface realized by the Server. |
| mal_properties | QoS for the request/reply. |
|
inline |
This destructor shutdown the MAL Server closing any pending connection and terminating the associated thread.
|
delete |
|
inline |
This method registers a service implemented by the MAL Server.
| SERVICE_TYPE | Type of the service. |
| name | Service's name to register. |
| service | Pointer to the service class. |
|
inline |
This method registers a service implemented by the MAL Server.
| SERVICE_TYPE | Type of the service. |
| name | Service's name to register. |
| service | Pointer to the service class. |
|
inline |
This method registers a service implemented by the MAL Server.
| SERVICE_TYPE | Type of the service. |
| name | Service's name to register. |
| service | Pointer to the service class. |
|
inline |
This method unregister a service implemented by the MAL Server.
| name | Service's name to unregister. |
|
inline |
This method unregister a service implemented by the MAL Server.
| name | Service's name to unregister. |
|
inline |
This method unregister a service implemented by the MAL Server.
| name | Service's name to unregister. |
1.8.5