summaryrefslogtreecommitdiff
path: root/modules/remote/c++/remote_loopback.hpp
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-07-29 14:53:48 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-07-29 14:53:48 +0200
commit44f6a2ec37e35cf96419885be27afeab9ea84ec5 (patch)
treecbdd97513095ece2c1f23433b8e15196b147e7cc /modules/remote/c++/remote_loopback.hpp
parent773fffb0c3596c93ae1522f6ef5eaaed4ad54e14 (diff)
wip
Diffstat (limited to 'modules/remote/c++/remote_loopback.hpp')
-rw-r--r--modules/remote/c++/remote_loopback.hpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/modules/remote/c++/remote_loopback.hpp b/modules/remote/c++/remote_loopback.hpp
index ea4eb8e..400a076 100644
--- a/modules/remote/c++/remote_loopback.hpp
+++ b/modules/remote/c++/remote_loopback.hpp
@@ -83,38 +83,4 @@ public:
// error_or<id<>>
};
-template<>
-class remote<rmt::Loopback> {
-private:
- std::map<uint64_t, i_data_server<>> registered_data_servers_;
-public:
- /**
- * Resolves an address for the remote
- */
- error_or<own<remote_address<rmt::Loopback>>> parse_address(data<schema::UInt64> id){
- return heap<remote_address<rmt::Loopback>>(id);
- }
-
- /**
- * Connect to a remote
- */
- template<typename Iface, typename Encode, typename Storage>
- conveyor<rpc_client<Iface, Encode, Storage, rmt::Loopback>> connect(const remote_address<rmt::Loopback>& addr);
-
- /**
- * Start listening
- */
- template<typename Iface, typename Encode, typename Storage>
- rpc_server<Iface, Encode, Storage, rmt::Loopback> listen(const remote_address<rmt::Loopback>& addr, typename rpc_server<Iface,Encode,Storage,rmt::Loopback>::InterfaceT iface){
- return {addr, std::move(iface)};
- }
-
- /**
- * Start data server
- */
- template<typename Encode>
- data_server<Encode> data_listen(const remote_address<rmt::Loopback>& addr){
- return {addr,*this};
- }
-};
}