An interface with generic RPC server functionality.
More...
#include <RpcServer.hpp>
|
| virtual | ~RpcServer () noexcept=default |
| | Destructor.
|
| virtual void | run ()=0 |
| | Run the server.
|
| virtual void | stop ()=0 |
| | Stop the server.
|
| virtual void | execute_request (const std::shared_ptr< RpcRequest > &request)=0 |
| | Perform execution of a client request.
|
An interface with generic RPC server functionality.
◆ ~RpcServer()
◆ execute_request()
| virtual void execute_request |
( |
const std::shared_ptr< RpcRequest > & | request | ) |
|
|
pure virtual |
Perform execution of a client request.
- Parameters
-
| request | The client request to execute. |
◆ run()
Run the server.
This method starts the server and begins processing requests. The method will block until the server is stopped.
◆ stop()
Stop the server.
This method stops the server and releases all resources. It will cancel all pending requests, and wait for all processing threads to finish before returning.
The documentation for this class was generated from the following file: