|
@@ -37,11 +37,10 @@
|
|
|
### 3.2 act定义
|
|
|
| 协议号 | message | 方向 | 备注 |
|
|
|
| --- | --- | --- | --- |
|
|
|
-| 1 | HandsharkNotify | c -> s | 客户端发送握手请求 |
|
|
|
-| 2 | HandsharkPush | s -> c | 服务端确认握手请求 |
|
|
|
-| 3 | HandsharkAckNotify | c -> s | 客户端确认握手请求 |
|
|
|
-| 4 | CloseNotify | c -> s | 客户端关闭连接 |
|
|
|
-| 5 | ClosePush | s -> c | 客户端关闭用户连接 |
|
|
|
+| 4 | SYN | c -> s | 客户端SYN请求 |
|
|
|
+| 4 | SYN | s -> c| 服务器响应SYN请求 |
|
|
|
+| 5 | CloseNotify | c -> s | 客户端关闭连接 |
|
|
|
+| 5 | ClosePush | s -> c | 服务器关闭用户连接 |
|
|
|
| 10 | LoginRequest | c -> s | 客户端请求登陆 |
|
|
|
| 11 | LoginResponse | s -> c | 服务器响应登陆请求 |
|
|
|
| 12 | HeartbeatRequest | c -> s | 客户端心跳 |
|
|
@@ -59,7 +58,7 @@
|
|
|
| 150 | RestoreRequest | c -> s | 客户端请求恢复数据 |
|
|
|
| 151 | RestoreResponse | s -> c | 服务器响应当前状态 |
|
|
|
| 152 | SyncRequest | c -> s | 客户端同步数据 |
|
|
|
-| 152 | SyncResponse | s -> c | 服务器响应同步结果 |
|
|
|
-| 153 | SyncPush | s -> c | 服务器通知客户端想要他人的同步数据 |
|
|
|
+| 153 | SyncResponse | s -> c | 服务器响应同步结果 |
|
|
|
+| 154 | SyncPush | s -> c | 服务器通知客户端想要他人的同步数据 |
|
|
|
|
|
|
|