diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-06-29 07:41:15 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-06-29 07:41:15 +0200 |
commit | 47b00020a237d22b6081a6f7f57bd387ae42b568 (patch) | |
tree | 5057c4cd526024d3687d152812717912f31872cb /modules/io_codec | |
parent | 64c26487299e22a0d563fa2b9ea12aecd73ff6e4 (diff) |
Moved device to a internal class which will be supposed to be discoverable
Diffstat (limited to 'modules/io_codec')
-rw-r--r-- | modules/io_codec/c++/rpc.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/io_codec/c++/rpc.hpp b/modules/io_codec/c++/rpc.hpp index f01ebd5..2c97d6b 100644 --- a/modules/io_codec/c++/rpc.hpp +++ b/modules/io_codec/c++/rpc.hpp @@ -121,12 +121,12 @@ class rpc_client { /** * Implementation of a remote server on the backend */ -template<typename Iface, typename Encoding, typename Remote> +template<typename Iface, typename Encoding, typename Storage, typename Remote> class rpc_server { private: - interface<Iface, Encoding> iface_; + interface<Iface, Encoding, Storage> iface_; public: - rpc_server(interface<Iface, Encoding> iface): + rpc_server(interface<Iface, Encoding, Storage> iface): iface_{std::move(iface)} {} }; @@ -163,7 +163,7 @@ class remote { /** * Start listening */ - template<typename Iface, typename Encode> - rpc_server<Iface, Encode, Remote> listen(); + template<typename Iface, typename Encode, typename Storage> + rpc_server<Iface, Encode, Storage, Remote> listen(); }; } |