zyearn commented on issue #1118: URL: https://github.com/apache/incubator-brpc/issues/1118#issuecomment-635071949
如果一定要这么做的话,可以实现一个Channel继承brpc::Channel,然后实现CheckHealth接口,具体实现是调用brpc::Channel::CheckHealth(),继承和接口关系看一下Channel和ChannelBase的定义。然后调用chan.CheckHealth()能达到你要的效果 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
