rename RpcChannel to IpcChannel

This commit is contained in:
Сергей Маринкевич
2025-12-02 18:26:12 +07:00
parent c6fed622ee
commit 7495f540d2
7 changed files with 25 additions and 21 deletions
+2 -2
View File
@@ -3,13 +3,13 @@
class {{ cls.name }}Proxy::Impl {
public:
explicit Impl(RpcChannel& ch)
explicit Impl(IpcChannel& ch)
: client(ch) {}
RpcClient client;
};
{{ cls.name }}Proxy::{{ cls.name }}Proxy(RpcChannel& ch)
{{ cls.name }}Proxy::{{ cls.name }}Proxy(IpcChannel& ch)
: impl(new Impl(ch)) {}
{% for m in cls.methods %}
+2 -2
View File
@@ -1,10 +1,10 @@
#pragma once
#include "rpc/RpcChannel.h"
#include "rpc/IpcChannel.h"
class {{ cls.name }}Proxy {
public:
explicit {{ cls.name }}Proxy(RpcChannel& ch);
explicit {{ cls.name }}Proxy(IpcChannel& ch);
{% for m in cls.methods %}
{{ m.return_type }} {{ m.name }}({% for a in m.args %}{{ a.type }} {{ a.name }}{% if not loop.last %}, {% endif %}{% endfor %});
{% endfor %}