summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-12-16 11:36:03 +0100
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-12-16 11:36:03 +0100
commit8109fa4fe004a0b4333cff13a673605f9eac603b (patch)
tree24801ae1fa74e3edebcb5eeb8c5b69532b9501fd
parent58f79a944d48e3570519ac78b8444d4dc90796ed (diff)
Expanding boilerplate in Io
-rw-r--r--modules/remote-io/c++/remote.hpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/modules/remote-io/c++/remote.hpp b/modules/remote-io/c++/remote.hpp
index fe2804d..00bee28 100644
--- a/modules/remote-io/c++/remote.hpp
+++ b/modules/remote-io/c++/remote.hpp
@@ -14,7 +14,9 @@ class remote_address<rmt::IoTcp> final {
private:
public:
- remote_address() = default;
+ remote_address(const std::string& addr) = default;
+
+
};
/**
@@ -26,7 +28,7 @@ class remote<rmt::IoTcp> final {
private:
ref<network> net_;
public:
- remote(network& net__):
+ remote(ref<network> net__):
net_{net__}
{}
@@ -48,4 +50,14 @@ public:
return make_error<err::not_implemented>();
}
};
+
+template<typename Schema, typename Encoding>
+class data_server<Schema, Encoding, rmt::IoTcp> final {
+
+};
+
+template<typename Interface, typename Encoding>
+class rpc_server<Interface, Encoding, rmt::IoTcp> final {
+
+};
}