diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-10-30 22:32:41 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-10-30 22:32:41 +0100 |
commit | bd1482cde66cf2aaa314ce4d23db5ceb45d41d4b (patch) | |
tree | ea09f6241d405afd05d23b98e0f56b6054e8d35f /c++/io_codec/rpc.h | |
parent | 3e09472ba3e6a651287ecfb5e2bfeb0ef2aeb5db (diff) |
codec,io_codec: Intermediate commit for rpc
Diffstat (limited to 'c++/io_codec/rpc.h')
-rw-r--r-- | c++/io_codec/rpc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/c++/io_codec/rpc.h b/c++/io_codec/rpc.h new file mode 100644 index 0000000..06a5f76 --- /dev/null +++ b/c++/io_codec/rpc.h @@ -0,0 +1,17 @@ +#pragma once + +namespace saw { +namespace rmt { +struct Network {}; +} + +template<> +class remote<rmt::Network> { +private: + std::string addr_str_; +public: + remote(std::string addr_str); + + conveyor<rpc_client<rmt::Network>> create_client(); +}; +} |