Server IP : 111.118.215.189 / Your IP : 3.138.126.233 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib64/python2.7/site-packages/dbus/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
� 毖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_connectedtis_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