Skip to content

Latest commit

 

History

History
44 lines (41 loc) · 3.03 KB

README.md

File metadata and controls

44 lines (41 loc) · 3.03 KB

hrpc

Common interface definition based rpc implementation (基于公共接口定义的rpc实现).

+-----------------------------+                                 +------------------------------+
|                             |                                 |                              |
| runtime 1                   |                                 | runtime 2                    |
|                             |                                 |                              |
|                             |                                 |                              |
|                             |                                 |                              |
|                             |                                 |                              |
|                             |                                 |                              |
|                             |                                 |                              |
|                             |                                 |                              |
|       +---------------------+   call remote method            |          +-------------------+
|       | objproxy.methodA()  | +---------------------------->  |          | obj.methodA()     |
|       |                     |                                 |          |                   |
|       |                     |                                 |          |                   |
|       |                     |                                 |          |                   |
+-------+---------^-----------+                                 +----------+---------^---------+
                  |                                                                  |
                  |                                                                  |
                  |                                                                  |
                  +-----------------------------+------------------------------------+
                                                |
                                                |
                                                |
                               +----------------+----------------+
                               |                                 |
                               |  CommonInterface                |
                               |                                 |
                               |                                 |
                               +---------------------------------+
                               |                                 |
                               | + methodA()                     |
                               |                                 |
                               +---------------------------------+
                               |                                 |
                               | + methodB(arg1, arg2)           |
                               |                                 |
                               +---------------------------------+