Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/dbus/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/dbus/server.pyo
�
毖Sc@sFdZdZddlmZddlmZdefd��YZdS(tServertreStructuredTexti����(t_Server(t
ConnectioncBsqeZdZeddd�Zd�Zd�Zd�Zd�Z	e
ej�Z
e
ej�Ze
ej�ZRS(s%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
    cCs"tt|�j|||||�S(s�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``.
        (tsuperRt__new__(tclstaddresstconnection_classtmainlooptauth_mechanisms((s1/usr/lib64/python2.7/site-packages/dbus/server.pyR)scOsi|_g|_g|_dS(N(t_Server__connectionston_connection_addedton_connection_removed(tselftargstkwargs((s1/usr/lib64/python2.7/site-packages/dbus/server.pyt__init__=s			cCs!|j|j�|j|�dS(N(tcall_on_disconnectiontconnection_removedtconnection_added(Rtconn((s1/usr/lib64/python2.7/site-packages/dbus/server.pyt_on_new_connectionLscCs.|jr*x|jD]}||�qWndS(s�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(RRtcb((s1/usr/lib64/python2.7/site-packages/dbus/server.pyRPs
	cCs.|jr*x|jD]}||�qWndS(s�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(R
(RRR((s1/usr/lib64/python2.7/site-packages/dbus/server.pyRas
	N(t__name__t
__module__t__doc__RtNoneRRRRRtpropertyRtget_addressRtget_idtidtget_is_connectedtis_connected(((s1/usr/lib64/python2.7/site-packages/dbus/server.pyRs					N(sServer(t__all__t
__docformat__t_dbus_bindingsRtdbus.connectionRR(((s1/usr/lib64/python2.7/site-packages/dbus/server.pyt<module>s

ZeroDay Forums Mini