mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 19:53:03 +01:00
Adds an abstract base class that can be used to implement a pool of client connections. The class implements a thread that runs an async event loop, and allows derived classes to schedule work on the loop and wait for the work to be finished. (Bitbake rev: f113456417f9ac0a4b44b291a6e22ea8219c3a5f) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 lines
334 B
Python
17 lines
334 B
Python
#
|
|
# Copyright BitBake Contributors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
|
|
|
|
from .client import AsyncClient, Client, ClientPool
|
|
from .serv import AsyncServer, AsyncServerConnection
|
|
from .connection import DEFAULT_MAX_CHUNK
|
|
from .exceptions import (
|
|
ClientError,
|
|
ServerError,
|
|
ConnectionClosedError,
|
|
InvokeError,
|
|
)
|