You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/11/13 09:50:09 UTC

[GitHub] [servicecomb-java-chassis] xhanthow commented on issue #1992: AbstractTransport AbstractVerticle继承使用指南

xhanthow commented on issue #1992:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1992#issuecomment-726664554


   最近也在看相关的知识,以下是我的理解:
   `AbstractVerticle`这个就是`vertx`中提供给我们来继承实现`Verticle`的,这个直接看`vertx`的官方文档就行了,有很多例子。这个`AbstractTransport`就需要打断点更下`servicecomb`的代码了,主要用来实例化`transport`类型的`Verticle`,具体来说包括`http1.1`(客户端)、`http2`(客户端)和服务端这3个`Verticle`,这3类`Verticle`对应的`vertx`实例都是同一个。


----------------------------------------------------------------
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:
users@infra.apache.org