diff options
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(); +}; +} |