SkyWay for Linux
読み取り中…
検索中…
一致する文字列を見つけられません
remote_member_plugin.hpp
1//
2// remote_member_plugin.hpp
3// skyway
4//
5// Created by sandabu on 2021/12/17.
6// Copyright © 2021 NTT Communications. All rights reserved.
7//
8
9#ifndef SKYWAY_CORE_INTERFACE_REMOTE_MEMBER_PLUGIN_HPP_
10#define SKYWAY_CORE_INTERFACE_REMOTE_MEMBER_PLUGIN_HPP_
11
12#include "skyway/core/interface/channel.hpp"
13#include "skyway/core/interface/remote_member.hpp"
14#include "skyway/model/domain.hpp"
15
16namespace skyway {
17namespace core {
18namespace interface {
19
21public:
22 virtual ~RemoteMemberPlugin() = default;
24 virtual std::string GetSubtype() const = 0;
26 virtual std::unique_ptr<RemoteMember> Create(Channel* channel,
27 const model::Member& dto) const = 0;
28 virtual void OnLocalPersonDisposed(const std::string& local_person_id) {}
30};
31
32} // namespace interface
33} // namespace core
34} // namespace skyway
35
36#endif /* SKYWAY_CORE_INTERFACE_REMOTE_MEMBER_PLUGIN_HPP_ */
Channelのインターフェース
Definition channel.hpp:28
Definition remote_member_plugin.hpp:20
virtual std::string GetSubtype() const =0
Pluginのサブタイプ
メンバー情報
Definition domain.hpp:54