ó
    V#Óg1  ã                   ó:   • S r SrSSKJr  SSKJr   " S S\5      rg))ÚServerÚreStructuredTexté    )Ú_Server)Ú
Connectionc                   óº   ^ • \ rS rSrSr\SS4U 4S jjrS rS rS r	S r
\" \R                  5      r\" \R                  5      r\" \R"                  5      rS	rU =r$ )
r   é    a  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
Nc                 ó.   >• [         [        U ]  XUX45      $ )a8  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ÚaddressÚconnection_classÚmainloopÚauth_mechanismsÚ	__class__s        €Ú-/usr/lib/python3/dist-packages/dbus/server.pyr   ÚServer.__new__+   s!   ø€ ô" ”V˜SÑ)¨#Ð8HØó+ð 	+ó    c                 ó0   • 0 U l         / U l         / U l        g ©N)Ú_Server__connectionsÚon_connection_addedÚon_connection_removed)ÚselfÚargsÚkwargss      r   Ú__init__ÚServer.__init__?   s'   € àˆÔà#%ˆÔ ð	Kð &(ˆÔ"ð	r   c                 ó\   • UR                  U R                  5        U R                  U5        g r   )Úcall_on_disconnectionÚconnection_removedÚconnection_added)r   Úconns     r   Ú_on_new_connectionÚServer._on_new_connectionN   s$   € Ø×"Ñ" 4×#:Ñ#:Ô;Ø×Ñ˜dÕ#r   c                 ó^   • U R                   (       a  U R                    H  nU" U5        M     gg)at  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   ©r   r#   Úcbs      r   r"   ÚServer.connection_addedR   s)   € ð ×#×#Ø×.Ô.�Ù�4–ò /ð $r   c                 ó^   • U R                   (       a  U R                    H  nU" U5        M     gg)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)r   r'   s      r   r!   ÚServer.connection_removedc   s)   € ð ×%×%Ø×0Ô0�Ù�4–ò 1ð &r   )Ú__connectionsr   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   r$   r"   r!   Úpropertyr   Úget_addressr   Úget_idÚidÚget_is_connectedÚis_connectedÚ__static_attributes__Ú__classcell__)r   s   @r   r   r       s[   ø† ñð 0:Ø t÷+ò(ò$òò"ñ" ˜G×/Ñ/Ó0€GÙ˜GŸN™NÓ+€BÙ˜G×4Ñ4Ó5†Lr   r   N)Ú__all__Ú__docformat__Ú_dbus_bindingsr   Údbus.connectionr   r   © r   r   Ú<module>r?      s%   ðð4 €Ø"€å "Ý &ôV6ˆWõ V6r   