diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-09-10 13:35:11 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-10-09 09:23:29 +0000 |
commit | 0938547eaaf5440de28877fa4f873c21bcb8cfbf (patch) | |
tree | 18e4a1dd437307d3fa83842763122e00b0c3ce0a /test/test_buffers.py | |
parent | d6f1c9c5141c177a14d011a514e392a9357398fb (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>
Diffstat (limited to 'test/test_buffers.py')
0 files changed, 0 insertions, 0 deletions