Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dashboard] 添加与加强插件与仪表盘的通讯 #145

Closed
Tracked by #223
Cranyozen opened this issue Sep 29, 2022 · 6 comments
Closed
Tracked by #223

[Dashboard] 添加与加强插件与仪表盘的通讯 #145

Cranyozen opened this issue Sep 29, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@Cranyozen
Copy link
Contributor

🪦 Is your feature request related to a problem? Please describe.
No

🪧 Describe the solution you'd like
插件给仪表盘发包时,总该返回消息;
发送心跳包检测插件状态

🧾 Describe alternatives you've considered
TCP通讯

📎 Additional context
None

@Cranyozen Cranyozen added enhancement New feature or request help wanted Extra attention is needed labels Sep 29, 2022
@Cranyozen
Copy link
Contributor Author

要不。。做个图?[doge]

@Dynesshely
Copy link
Member

我觉得雀食需要

@Dynesshely
Copy link
Member

commit 1c7e082 中已提交最新更改
包括:

  • 加载器向仪表盘建立连接之后发送的 PluginStruct 报文前需添加前缀: PluginStruct:
  • 仪表盘成功收到之后会向加载器发送工作路径, 以 WorkPath: 打头

@Dynesshely
Copy link
Member

Dynesshely commented Sep 29, 2022

🪦 Is your feature request related to a problem? Please describe. No

🪧 Describe the solution you'd like 插件给仪表盘发包时,总该返回消息; 发送心跳包检测插件状态

🧾 Describe alternatives you've considered TCP通讯

📎 Additional context None

针对发送心跳包这里, 其实没有必要, 由于加载器和仪表盘建立的是 tcp 连接, 如果加载器发生严重故障, tcp 连接断开仪表盘可以认定插件离线, 其余时间没有必要主动认证加载器在线状态

如果添加全局轮询验证加载器在线状态, 势必会加重仪表盘的性能开销, 这不太能被接受

@Dynesshely
Copy link
Member

Tracked by #223 .

@Dynesshely Dynesshely added the tracking This issue is tracking by another issue label Mar 5, 2023
@Dynesshely
Copy link
Member

Close as completed.

@Dynesshely Dynesshely removed the tracking This issue is tracking by another issue label May 19, 2023
@Dynesshely Dynesshely removed the help wanted Extra attention is needed label May 29, 2023
@Dynesshely Dynesshely changed the title 添加与加强插件与仪表盘的通讯 [Dashboard] 添加与加强插件与仪表盘的通讯 Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants