Commit Graph

3 Commits

Author SHA1 Message Date
Wyatt Hepler
80f26ffcdf pw_rpc: Generic method invocations and tests
- Restructure the BUILD.gn file to define the pw_rpc server library with
  a template. This makes it simple to build different versions of the
  pw_rpc server library.
- Define the ServerContext class, which provides context for a
  particular RPC invocation.
- Have the server invoke RPCs if it finds a method with matching IDs.
- Implement a test version of the Method class and expand the server
  tests.

Change-Id: Id1f46a88f2618a649d72f8c694ee829aef80588c
2020-06-03 20:49:34 +00:00
Alexei Frolov
5d6d3924bb pw_rpc: Some initial server code
This change starts adding basic RPC server code and request processing.

Change-Id: Ia59a3e65aef4117fc593db46450a6b428bf136f5
2020-05-18 21:30:37 +00:00
Alexei Frolov
26e3ae6ed6 pw_rpc: Module boilerplate
This change creates the pw_rpc module with all of the standard Pigweed
module boilerplate.

Change-Id: Iac3951a81a0edd286a8b1c7e19c614a7b73c0d07
2020-05-08 01:51:46 +00:00