diff options
| author | John Snow <jsnow@redhat.com> | 2021-09-15 12:29:33 -0400 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2021-09-27 12:10:29 -0400 |
| commit | 4ccaab0377dec88b5cf1a55064b4953f6ab59d9f (patch) | |
| tree | d5f7fabb64a8f0065f8a4acfd361a4464f2c134a /python/qemu/aqmp/__init__.py | |
| parent | a07616d612bebc6324b29d7ab0c9b84d4e9d7c42 (diff) | |
| download | focaccia-qemu-4ccaab0377dec88b5cf1a55064b4953f6ab59d9f.tar.gz focaccia-qemu-4ccaab0377dec88b5cf1a55064b4953f6ab59d9f.zip | |
python/aqmp: add generic async message-based protocol support
This is the bare minimum that you need to establish a full-duplex async message-based protocol with Python's asyncio. The features to be added in forthcoming commits are: - Runstate tracking - Logging - Support for incoming connections via accept() - _cb_outbound, _cb_inbound message hooks - _readline() method Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 20210915162955.333025-6-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/qemu/aqmp/__init__.py')
| -rw-r--r-- | python/qemu/aqmp/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/qemu/aqmp/__init__.py b/python/qemu/aqmp/__init__.py index c97be950bf..5c0de72672 100644 --- a/python/qemu/aqmp/__init__.py +++ b/python/qemu/aqmp/__init__.py @@ -22,10 +22,12 @@ managing QMP events. # the COPYING file in the top-level directory. from .error import AQMPError +from .protocol import ConnectError # The order of these fields impact the Sphinx documentation order. __all__ = ( - # Exceptions + # Exceptions, most generic to most explicit 'AQMPError', + 'ConnectError', ) |