Overall gRPC Integration Process

Last updated: 2021-01-21 11:10:01
    • gRPC is a high-performance open-source remote procedure call (RPC) framework as well as a language/platform-neutral RPC system designed for mobile devices and HTTP/2. Currently, it supports the following programming languages: C, C++, C#, Node.js, Python, Ruby, Objective-C, PHP, Java, and Go.
    • In gRPC, a client application can directly call methods on a server application on a different machine as if it was a local object. gRPC is based around the idea of defining a service, specifying the methods that can be called remotely with their parameters and return types. The server implements this interface and runs a gRPC server to handle client calls.
    • Currently, the streaming RPC of gRPC is not used for connecting GSE through the gRPC method.

    Note:

    For more information on gRPC, please see gRPC official documentation and gRPC @ Linux Foundation.

    Integrating gRPC Framework

    1. Install gRPC.
    2. Define the service.
    3. Generate the gRPC code.
    4. Integrate the game process.
    5. Launch the server for GSE to call.
    6. Connect the client to the gRPC server of GSE.

    Note: