zchuange commented on issue #3167:
URL: https://github.com/apache/brpc/issues/3167#issuecomment-3627038066

   > 是的,每个协议可能还有一些特殊的使用方式。上层应该怎么提供接口呢?
   
   
目前尝试实现一下rdma和tcp的子类transport,上层RPC流程模块依然调用的是原Socket类提供的函数,下层transport承接了类系统socket调用的方法部分,协议的特殊使用方式都可以下推到transport子类来实现,这样原Socket类改造成公共的Transport
 context角色了


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to