mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 13:51:05 +00:00
960f5df3cc
- 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> |
||
---|---|---|
.. | ||
public/pw_log_rpc | ||
BUILD.bazel | ||
BUILD.gn | ||
docs.rst | ||
log_service_test.cc | ||
log_service.cc | ||
rpc_log_drain_test.cc | ||
rpc_log_drain.cc |