xemu/python/qemu/aqmp
John Snow 0ba4e76b23 python/aqmp: rename 'accept()' to 'start_server_and_accept()'
Previously, I had a method named "accept()" that under-the-hood calls
bind(2), listen(2) *and* accept(2). I meant this as a simplification and
counterpart to the one-shot "connect()" method.

This is confusing to readers who expect accept() to mean *just*
accept(2). Since I need to split apart the "accept()" method into
multiple methods anyway (one of which strongly resembling accept(2)), it
feels pertinent to rename this method *now*.

Rename this all-in-one method "start_server_and_accept()" instead.

Signed-off-by: John Snow <jsnow@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20220225205948.3693480-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2022-03-07 14:36:41 -05:00
..
__init__.py python/aqmp: rename AQMPError to QMPError 2022-01-21 16:01:31 -05:00
aqmp_tui.py python/aqmp: use absolute import statement 2022-01-10 18:22:33 -05:00
error.py python/aqmp: rename AQMPError to QMPError 2022-01-21 16:01:31 -05:00
events.py python/aqmp: rename AQMPError to QMPError 2022-01-21 16:01:31 -05:00
legacy.py python/aqmp: rename 'accept()' to 'start_server_and_accept()' 2022-03-07 14:36:41 -05:00
message.py python/aqmp: add QMP Message format 2021-09-27 12:10:29 -04:00
models.py python/aqmp: Add dict conversion method to Greeting object 2021-10-12 12:22:10 -04:00
protocol.py python/aqmp: rename 'accept()' to 'start_server_and_accept()' 2022-03-07 14:36:41 -05:00
py.typed python/aqmp: add asynchronous QMP (AQMP) subpackage 2021-09-27 12:10:27 -04:00
qmp_client.py python/aqmp: Fix negotiation with pre-"oob" QEMU 2022-02-02 14:12:22 -05:00
qmp_shell.py python: support recording QMP session to a file 2022-02-23 17:07:26 -05:00
util.py python/aqmp: add asyncio_run compatibility wrapper 2021-09-27 12:10:29 -04:00