qemu-cr16/python/qemu/aqmp
John Snow c58b42e095 python/aqmp: add runstate state machine to AsyncProtocol
This serves a few purposes:

1. Protect interfaces when it's not safe to call them (via @require)

2. Add an interface by which an async client can determine if the state
has changed, for the purposes of connection management.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20210915162955.333025-7-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2021-09-27 12:10:29 -04:00
..
__init__.py python/aqmp: add runstate state machine to AsyncProtocol 2021-09-27 12:10:29 -04:00
error.py
protocol.py python/aqmp: add runstate state machine to AsyncProtocol 2021-09-27 12:10:29 -04:00
py.typed
util.py python/aqmp: add generic async message-based protocol support 2021-09-27 12:10:29 -04:00