We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
唯一的不同在于,Acceptor类的处理事件函数(也就是新建连接功能)被放到了Server类中,具体原因在上一天的教程中已经详细说明。而Connection类则没有必要这么做,处理事件的逻辑应该由Connection类本身来完成。 这样做的目的是什么?
The text was updated successfully, but these errors were encountered:
day14 也把 Connection 里的处理事件逻辑搬到 Server 里了
Sorry, something went wrong.
No branches or pull requests
唯一的不同在于,Acceptor类的处理事件函数(也就是新建连接功能)被放到了Server类中,具体原因在上一天的教程中已经详细说明。而Connection类则没有必要这么做,处理事件的逻辑应该由Connection类本身来完成。
这样做的目的是什么?
The text was updated successfully, but these errors were encountered: