summaryrefslogtreecommitdiff
path: root/c++/io_codec/rpc.h
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2023-12-04 12:18:14 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2023-12-04 12:18:14 +0100
commita14896f9ed209dd3f9597722e5a5697bd7dbf531 (patch)
tree089ca5cbbd206d1921f8f6b53292f5bc1902ca5c /c++/io_codec/rpc.h
parent84ecdcbca9e55b1f57fbb832e12ff4fdbb86e7c9 (diff)
meta: Renamed folder containing source
Diffstat (limited to 'c++/io_codec/rpc.h')
-rw-r--r--c++/io_codec/rpc.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/c++/io_codec/rpc.h b/c++/io_codec/rpc.h
deleted file mode 100644
index 020bf96..0000000
--- a/c++/io_codec/rpc.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#pragma once
-
-#include <forstio/codec/rpc.h>
-
-namespace saw {
-namespace rmt {
-struct Network {};
-}
-
-template<>
-class remote<rmt::Network> {
-private:
- std::string addr_str_;
-public:
- remote(std::string addr_str);
-
- template<typename Interface>
- conveyor<rpc_client<rmt::Network, Interface>> create_client();
-};
-
-template<template Interface>
-class rpc_client<rmt::Network, Interface> {
-private:
- own<io_stream> stream_;
-public:
- rpc_client(own<io_stream> stream);
-
- template<typename T>
- remote_result<typename response<T>::type> call(typename request<T>::type req);
-};
-}