�
� z]1 � �: � d Z dZddlmZ ddlmZ G d� de� Zy))�Server�reStructuredText� )�_Server)�
Connectionc � � � e Zd ZdZeddf� fd� Zd� Zd� Zd� Zd� Z e
ej � Z
e
ej � Z e
ej � Z� xZS )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 �2 �� t t | � | ||||� 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�address�connection_class�mainloop�auth_mechanisms� __class__s ��-/usr/lib/python3/dist-packages/dbus/server.pyr
zServer.__new__+ s% �� �" |