You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
404 B
Django/Jinja
16 lines
404 B
Django/Jinja
#pragma once
|
|
|
|
#include "{{ cls.name }}.h"
|
|
#include "rpc/RpcInvoker.h"
|
|
|
|
class {{ cls.name }}Skeleton {
|
|
public:
|
|
explicit {{ cls.name }}Skeleton({{ cls.name }}& obj, RpcInvoker& invoker);
|
|
|
|
// IPC-независимый диспетчер: принимает имя метода и RpcArgs.
|
|
RpcValue dispatch(const std::string& method, const RpcArgs& args);
|
|
|
|
private:
|
|
RpcInvoker& invoker;
|
|
};
|