diff options
| author | Daniel P. Berrange | 2015-02-27 17:19:33 +0100 |
|---|---|---|
| committer | Daniel P. Berrange | 2015-12-18 13:18:31 +0100 |
| commit | 559607ea173a0003efda7f884bec73b242f923fb (patch) | |
| tree | 63e923e55537ea0add19a0a8bb7c1a238d6cb3e9 /scripts/qapi.py | |
| parent | io: add QIOTask class for async operations (diff) | |
| download | qemu-559607ea173a0003efda7f884bec73b242f923fb.tar.gz qemu-559607ea173a0003efda7f884bec73b242f923fb.tar.xz qemu-559607ea173a0003efda7f884bec73b242f923fb.zip | |
io: add QIOChannelSocket class
Implement a QIOChannel subclass that supports sockets I/O.
The implementation is able to manage a single socket file
descriptor, whether a TCP/UNIX listener, TCP/UNIX connection,
or a UDP datagram. It provides APIs which can listen and
connect either asynchronously or synchronously. Since there
is no asynchronous DNS lookup API available, it uses the
QIOTask helper for spawning a background thread to ensure
non-blocking operation.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions
