⚝
One Hat Cyber Team
⚝
Your IP:
3.144.28.166
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.6
/
site-packages
/
dbus
/
__pycache__
/
View File Name :
gi_service.cpython-36.opt-1.pyc
3 iR�V� � @ sf d Z dgZddlmZ ddlZG dd� dejjejj�Z ddd�Z d Ze dejejjfe ed ��Z dS )z6Support code for implementing D-Bus services via PyGI.�ExportedGObject� )�GObjectNc @ s e Zd ZdZdd� ZdS )�ExportedGObjectTypez�A metaclass which inherits from both GObjectMeta and `dbus.service.InterfaceType`. Used as the metaclass for `ExportedGObject`. c C s, t j jj| |||� tjjj| |||� d S )N)r � __class__�__init__�dbus�service� InterfaceType)�cls�name�basesZdct� r �"/usr/lib64/python3.6/gi_service.pyr , s zExportedGObjectType.__init__N)�__name__� __module__�__qualname__�__doc__r r r r r r ( s r c K sT |j dd�}|j dd�}|dk r*|j|� tjj| f|� tjjj| |||d� dS )a: Initialize an exported GObject. :Parameters: `conn` : dbus.connection.Connection The D-Bus connection or bus `object_path` : str The object path at which to register this object. :Keywords: `bus_name` : dbus.service.BusName A bus name to be held on behalf of this object, or None. `gobject_properties` : dict GObject properties to be set on the constructed object. Any unrecognised keyword arguments will also be interpreted as GObject properties. �bus_nameN�gobject_properties)�conn�object_pathr )�pop�updater r r r �Object)�selfr r �kwargsr r r r r �ExportedGObject__init__1 s r z)A GObject which is exported on the D-Bus.)r r )NN)r �__all__Z gi.repositoryr Zdbus.servicer r r r r r ZExportedGObject__doc__r r r r r r �<module> s