获取来自客户端的下一个事件。阻塞调用,若在等待过程中,会话被用户关闭,则抛出SessionClosedException异常
(self)
| 97 | raise NotImplementedError |
| 98 | |
| 99 | def next_client_event(self) -> dict: |
| 100 | """获取来自客户端的下一个事件。阻塞调用,若在等待过程中,会话被用户关闭,则抛出SessionClosedException异常""" |
| 101 | raise NotImplementedError |
| 102 | |
| 103 | def send_client_event(self, event): |
| 104 | raise NotImplementedError |