diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-09-10 13:35:11 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-02-18 13:28:43 +0000 |
commit | 1c45b85dff2a0e8c60541cfa5371090fb9502e18 (patch) | |
tree | 82549539939e49c2dff2271c95626f29b0877262 /docs | |
parent | 72ab26ca8f1f4d28c41b39f994ac82f60552f41a (diff) |
papi: introduce read_blocking
Previously, self.transport.q got the messages
(at least for socket transport), stored in the encoded (packed) form.
In order to avoid accessing internals for async reads,
a new method is introduced, to perform
blocking reads of decoded (unpacked) messages.
The method is also used in _call_vpp(),
so sync and async reads are kept compatible.
Type: feature
Change-Id: Id49792dfa57c00b1a14a198031c5398d09a9ba20
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 0938547eaaf5440de28877fa4f873c21bcb8cfbf)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions