AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 18.116.37.193
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/977/root/usr/lib64/python2.7/site-packages/dbus/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /proc/977/root/usr/lib64/python2.7/site-packages/dbus/gobject_service.pyo
�
毖Sc@s�dZddlZddlmZeed�edd�dejkr]ddlmZ	nddl	Z	ddl
Zd	e	jjej
jfd
��YZde	jej
jfd��YZdS(
s:Support code for implementing D-Bus services via GObjects.i����N(twarns�dbus.gobject_service is deprecated, and is not available under Python 3.

Porting from gobject (PyGObject 2) to gi.repository.GObject (PyGObject 3),
and using dbus.gi_service instead of dbus.gobject_service, is recommended.
t
stacklevelitgi(tGObjecttExportedGObjectTypecBseZdZd�ZRS(s�A metaclass which inherits from both GObjectMeta and
    `dbus.service.InterfaceType`. Used as the metaclass for `ExportedGObject`.
    cCs<tjjj||||�tjjj||||�dS(N(tgobjectRt	__class__t__init__tdbustservicet
InterfaceType(tclstnametbasestdct((s:/usr/lib64/python2.7/site-packages/dbus/gobject_service.pyR/s(t__name__t
__module__t__doc__R(((s:/usr/lib64/python2.7/site-packages/dbus/gobject_service.pyR+stExportedGObjectcBs#eZdZeZddd�ZRS(s.A GObject which is exported on the D-Bus.

    Because GObject and `dbus.service.Object` both have custom metaclasses,
    the naive approach using simple multiple inheritance won't work. This
    class has `ExportedGObjectType` as its metaclass, which is sufficient
    to make it work correctly.
    cKs||jdd�}|jdd�}|dk	r@|j|�ntjj||�tjjj|d|d|d|�dS(snInitialize 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.
            tbus_nametgobject_propertiestconntobject_pathN(	tpoptNonetupdateRRRRR	tObject(tselfRRtkwargsRR((s:/usr/lib64/python2.7/site-packages/dbus/gobject_service.pyR=sN(RRRRt
__metaclass__RR(((s:/usr/lib64/python2.7/site-packages/dbus/gobject_service.pyR3s(RtsystwarningsRt_warntDeprecationWarningtmodulest
gi.repositoryRRtdbus.serviceRRR	R
RRR(((s:/usr/lib64/python2.7/site-packages/dbus/gobject_service.pyt<module>s%

Anon7 - 2022
AnonSec Team