mirror of https://gitee.com/openkylin/genmai.git
update docs/架构设计/逻辑视图设计.md.
Signed-off-by: xujian <xujian@kylinos.cn>
This commit is contained in:
parent
bea7bb6301
commit
f2867db7fd
|
@ -251,6 +251,8 @@ app.js封装了app层的函数调用接口,由wails框架提供接口调用机
|
|||
APP层划分为app前端、app后端
|
||||
|
||||
app前端负责与UI层交互,提供APP API接口,并通过EventsEmit将Event事件通知UI界面。
|
||||
app前端的功能:
|
||||
|
||||
|
||||
app后端通过tcp server方式提供两个服务(cmd tcp server、event tcp server),用于app前端交互:
|
||||
|
||||
|
@ -258,8 +260,15 @@ app后端通过tcp server方式提供两个服务(cmd tcp server、event tcp s
|
|||
|
||||
event tcp server用于发送Event事件通知。
|
||||
|
||||
app后端的功能:
|
||||
|
||||
|
||||
app后端通过调用core层CORE API接口,以及向CORE层注册回调处理函数的方式实现交互
|
||||
|
||||
core层的功能:
|
||||
|
||||
|
||||
|
||||
## tcp server通信数据格式定义
|
||||
|
||||
为了实现通信数据格式的可拓展性,使用json格式进行app前后端的数据交互。
|
||||
|
|
Loading…
Reference in New Issue