commit | b7fbf3d6405e4023bcd50c15651031fde22224b1 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue Dec 20 00:40:41 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 20 00:40:41 2022 +0000 |
tree | 4d3d0155b6e351d08c75ae08276bcd5c0b5ac3d6 | |
parent | 4d7fc8e9e7085e4b45d3d72ceee730d1fbfa34ca [diff] |
pw_rpc: Java client improvements - Properly synchronize all RPC activity through the client's RpcManager. The RpcManager's intrinsic lock is held when modifying any of the client's RPC state. - Split AbstractCall and FutureCall out from StreamObserverCall. - Update the Call interface to make it simpler to work with. Return booleans for whether an function succeeded, rather than throwing an RpcError. - Rename Call::send() to Call::write() for consistency with other clients. Keep send() for backwards compatibility. - Switch to logging call objects instead of PendingRpc objects to improve log output. - Enforce that channel IDs are positive. - Expand unit tests. Change-Id: Ic87e6fb0190863cf31c91ffa6475f4831b91ef11 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/122152 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.