Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
welcome
2016-04-19 14:45:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8d3fe3bf2f9e38406e4c5131185fc5068501cded
8d3fe3bf
1 parent
bb8e8251
保持command和异常崩溃一样,添加key来判断是学生端断网恢复
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
在线授课断网然后再恢复页面同步处理.md
在线授课断网然后再恢复页面同步处理.md
View file @
8d3fe3b
...
...
@@ -4,9 +4,10 @@
```
{
command
=
requestCoursePage;//命令,采用异常崩溃退出的命令
subType
=
reportStudentResumeNetwork;//根据此项来判断是否是学生断网恢复
type
=
flow;
}
```
教师端收到此消息后,重发当前页面(即重新创建一个新的当前页面,根据以前的消息机制,教师会发这个新的页面到学生端),这样保持了学生,老师的同步也使页面动作重置
教师端收到此消息后,
提示学生重新连接,
重发当前页面(即重新创建一个新的当前页面,根据以前的消息机制,教师会发这个新的页面到学生端),这样保持了学生,老师的同步也使页面动作重置
######教师端
(1)教师端目前只给了网络的变化动态,恢复网络后未有重发机制。(教师端可手动滑动页面保持同步,没必要再做重发机制)
\ No newline at end of file
...
...
Please
register
or
login
to post a comment