Mini Shell

Direktori : /usr/lib/python3.6/site-packages/dasbus/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/dasbus/__pycache__/loop.cpython-36.pyc

3

��^��@s^ddlmZmZddlZejdd�ddlmZddgZGdd�ded	�ZGd
d�de�Z	dS)�)�ABCMeta�abstractmethodN�GLibz2.0)r�AbstractEventLoop�	EventLoopc@s(eZdZdZedd��Zedd��ZdS)raoThe 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.

    cCsdS)zStart the event loop.N�)�selfrr�/usr/lib/python3.6/loop.py�run5szAbstractEventLoop.runcCsdS)zStop the event loop.Nr)rrrr	�quit:szAbstractEventLoop.quitN)�__name__�
__module__�__qualname__�__doc__rr
rrrrr	r!s)�	metaclassc@s(eZdZdZdd�Zdd�Zdd�ZdS)	rz%The representation of the event loop.cCstj�|_dS)zCreate the event loop.N)rZMainLoop�_loop)rrrr	�__init__CszEventLoop.__init__cCs|jj�dS)zStart the event loop.N)rr
)rrrr	r
Gsz
EventLoop.runcCs|jj�dS)zStop the event loop.N)rr)rrrr	rKszEventLoop.quitN)rr
rrrr
rrrrr	r@s)
�abcrrZgiZrequire_versionZ
gi.repositoryr�__all__rrrrrr	�<module>s