/usr/lib64/python3.9/site-packages/dbus/__pycache__
NameSizeModeActions
bus.cpython-39.opt-1.pyc135550644editdlrm
bus.cpython-39.pyc135550644editdlrm
connection.cpython-39.opt-1.pyc178140644editdlrm
connection.cpython-39.pyc178140644editdlrm
decorators.cpython-39.opt-1.pyc117150644editdlrm
decorators.cpython-39.pyc117150644editdlrm
exceptions.cpython-39.opt-1.pyc39200644editdlrm
exceptions.cpython-39.pyc39200644editdlrm
gi_service.cpython-39.opt-1.pyc19600644editdlrm
gi_service.cpython-39.pyc19600644editdlrm
glib.cpython-39.opt-1.pyc10180644editdlrm
glib.cpython-39.pyc10180644editdlrm
lowlevel.cpython-39.opt-1.pyc6790644editdlrm
lowlevel.cpython-39.pyc6790644editdlrm
proxies.cpython-39.opt-1.pyc177740644editdlrm
proxies.cpython-39.pyc177740644editdlrm
server.cpython-39.opt-1.pyc34600644editdlrm
server.cpython-39.pyc34600644editdlrm
service.cpython-39.opt-1.pyc221780644editdlrm
service.cpython-39.pyc221780644editdlrm
types.cpython-39.opt-1.pyc6780644editdlrm
types.cpython-39.pyc6780644editdlrm
_compat.cpython-39.opt-1.pyc2200644editdlrm
_compat.cpython-39.pyc2200644editdlrm
_dbus.cpython-39.opt-1.pyc73850644editdlrm
_dbus.cpython-39.pyc73850644editdlrm
_expat_introspect_parser.cpython-39.opt-1.pyc22100644editdlrm
_expat_introspect_parser.cpython-39.pyc22100644editdlrm
__init__.cpython-39.opt-1.pyc20090644editdlrm
__init__.cpython-39.pyc20090644editdlrm
Edit: /usr/lib64/python3.9/site-packages/dbus/__pycache__/server.cpython-39.pyc (3460B)
a ó z]1ã@s4dZdZddlmZddlmZGdd„deƒZdS))ÚServerZreStructuredTexté)Ú_Server)Ú ConnectioncsfeZdZdZeddf‡fdd„ Zdd„Zdd„Zd d „Zd d „Z e e j ƒZ e e jƒZe e jƒZ‡ZS) ra%An opaque object representing a server that listens for connections from other applications. This class is not useful to instantiate directly: you must subclass it and either extend the method connection_added, or append to the list on_connection_added. :Since: 0.83 Ncstt|ƒ |||||¡S)a Construct a new Server. :Parameters: `address` : str Listen on this address. `connection_class` : type When new connections come in, instantiate this subclass of dbus.connection.Connection to represent them. The default is Connection. `mainloop` : dbus.mainloop.NativeMainLoop or None The main loop with which to associate the new connections. `auth_mechanisms` : sequence of str Authentication mechanisms to allow. The default is to allow any authentication mechanism supported by ``libdbus``. )ÚsuperrÚ__new__)ÚclsÚaddressZconnection_classZmainloopZauth_mechanisms©Ú __class__©ú1/usr/lib64/python3.9/site-packages/dbus/server.pyr+sÿzServer.__new__cOsi|_g|_g|_dS©N)Z_Server__connectionsÚon_connection_addedÚon_connection_removed)ÚselfÚargsÚkwargsr r r Ú__init__?szServer.__init__cCs| |j¡| |¡dSr )Zcall_on_disconnectionÚconnection_removedÚconnection_added)rÚconnr r r Ú_on_new_connectionNs zServer._on_new_connectioncCs|jr|jD] }||ƒq dS)a´Respond to the creation of a new Connection. This base-class implementation just invokes the callbacks in the on_connection_added attribute. :Parameters: `conn` : dbus.connection.Connection A D-Bus connection which has just been added. The type of this parameter is whatever was passed to the Server constructor as the ``connection_class``. N)r©rrÚcbr r r rRs  zServer.connection_addedcCs|jr|jD] }||ƒq dS)aÀRespond to the disconnection of a Connection. This base-class implementation just invokes the callbacks in the on_connection_removed attribute. :Parameters: `conn` : dbus.connection.Connection A D-Bus connection which has just become disconnected. The type of this parameter is whatever was passed to the Server constructor as the ``connection_class``. N)rrr r r rcs  zServer.connection_removed)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrrrrÚpropertyrZ get_addressrZget_idÚidZget_is_connectedZ is_connectedÚ __classcell__r r r r r s ÿ  rN)Ú__all__Z __docformat__Z_dbus_bindingsrZdbus.connectionrrr r r r Ús