관리-도구
편집 파일: loop.cpython-39.opt-1.pyc
a װ_� � @ s^ d dl mZmZ d dlZe�dd� d dlmZ ddgZG dd� ded �ZG d d� de�Z dS )� )�ABCMeta�abstractmethodN�GLibz2.0)r �AbstractEventLoop� EventLoopc @ s( e Zd ZdZedd� �Zedd� �ZdS )r ao The abstract representation of the event loop. It is necessary to run the event loop to handle emitted DBus signals or incoming DBus calls (in the DBus service). Example: .. code-block:: python # Create the event loop. loop = EventLoop() # Start the event loop. loop.run() # Run loop.quit() to stop. c C s dS �zStart the event loop.N� ��selfr r �//usr/lib/python3.9/site-packages/dasbus/loop.py�run5 s zAbstractEventLoop.runc C s dS �zStop the event loop.Nr r r r r �quit: s zAbstractEventLoop.quitN)�__name__� __module__�__qualname__�__doc__r r r r r r r r ! s )� metaclassc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) r z%The representation of the event loop.c C s t �� | _dS )zCreate the event loop.N)r ZMainLoop�_loopr r r r �__init__C s zEventLoop.__init__c C s | j �� dS r )r r r r r r r G s z EventLoop.runc C s | j �� dS r )r r r r r r r K s zEventLoop.quitN)r r r r r r r r r r r r @ s ) �abcr r ZgiZrequire_versionZ gi.repositoryr �__all__r r r r r r �<module> s �