third_party.pigweed.src/pw_log_rpc
Wyatt Hepler 960f5df3cc pw_rpc: Prepare Call for use by both server & client
- Introduce ServerCall and ClientCall classes for functionality not
  shared between client and server calls.
- Move the on_client_stream_end_ / on_completed_ callbacks to ServerCall
  and ClientCall classes, since these callbacks differ between server
  and client.
- Use CallContext only to initialize calls. Do not store the CallContext
  in the Call class, since the method and service are not needed in the
  call and are not relevant for the client.
- Move prior call cancellation from the Server to the RegisterCall
  function in Endpoint. This correctly cancels prior calls when using
  the Open API, and the code will be shared between server & client.
- Expand and update raw and Nanopb method tests.
- Remove redundant Method argument from the Method Invoker function. The
  method is included in the CallContext.

Change-Id: I6ff46d2a22028d05acd1bbc15e925def1dcbc263
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/61796
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Keir Mierle <keir@google.com>
2021-09-24 19:22:16 +00:00
..
public/pw_log_rpc
BUILD.bazel
BUILD.gn
docs.rst
log_service_test.cc
log_service.cc
rpc_log_drain_test.cc pw_rpc: Prepare Call for use by both server & client 2021-09-24 19:22:16 +00:00
rpc_log_drain.cc