Skip to content

AirtestProject/hrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hrpc

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

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

About

Common interface definition based rpc implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages