summaryrefslogtreecommitdiff
path: root/modules/io_codec/c++/rpc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/io_codec/c++/rpc.hpp')
-rw-r--r--modules/io_codec/c++/rpc.hpp10
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();
};
}