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
@OverRide public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { KcpClient.this.handleException(cause, null); KcpClient.this.close(); }
KcpClient.this.close(); 是否调整为KcpClient.this.handleClose()更为合理
The text was updated successfully, but these errors were encountered:
我大概明白原因了,设计KcpClient.this.close(); 是网络层,KcpClient.this.handleClose()属于kcp业务层
Sorry, something went wrong.
这个地方,还是有问题。 需要考虑下通知业务层去处理exception事件和close事件。
No branches or pull requests
@OverRide
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception
{
KcpClient.this.handleException(cause, null);
KcpClient.this.close();
}
KcpClient.this.close(); 是否调整为KcpClient.this.handleClose()更为合理
The text was updated successfully, but these errors were encountered: