commit | ddfc077efac67c34b3222b9dfc48f504c477ec0b | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Fri Sep 03 16:46:25 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Sep 11 00:39:49 2021 +0000 |
tree | a254720944b71dfb06a437b16b78e8d4c0139135 | |
parent | 8c70fccf01bcf48811fe53313c932bcdccabb4dd [diff] |
pw_rpc: Common Endpoint base for Server/Client - Create pw::rpc::internal::Endpoint class that serves as the common base for the Server and Client. It manages the internal lists of active calls and available RPC channels. - Refactor the pw::rpc::Server to derive from Endpoint. The Client will be refactored to use Endpoint in a subsequent change. - No longer send responses to corrupt packets. If packets are being corrupted, a response isn't likely to be helpful. - Remove the unnecessary internal::Server class. Change-Id: Ib02922907ee61a4e590412aa464127590bde6441 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/60185 Commit-Queue: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Alexei Frolov <frolv@google.com>
See our website: http://pigweed.dev