⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
dbus
/
__pycache__
/
View File Name :
server.cpython-310.pyc
o ñt3b1 ã @ s4 d Z dZddlmZ ddlmZ G dd„ deƒZdS ))ÚServerZreStructuredTexté )Ú_Server)Ú Connectionc sf e Zd ZdZeddf‡ fdd„ Zdd„ Zdd„ Zd d „ Zdd„ Z e ejƒZ e ejƒZe ejƒZ‡ ZS ) 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 s 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ÚaddressZconnection_classZmainloopZauth_mechanisms©Ú __class__© ú-/usr/lib/python3/dist-packages/dbus/server.pyr + s ÿzServer.__new__c O s i | _ g | _ g | _d S ©N)Z_Server__connectionsÚon_connection_addedÚon_connection_removed)ÚselfÚargsÚkwargsr r r Ú__init__? s zServer.__init__c C s | | j¡ | |¡ d S r )Zcall_on_disconnectionÚconnection_removedÚconnection_added)r Úconnr r r Ú_on_new_connectionN s zServer._on_new_connectionc C ó" | j r | j D ]}||ƒ qdS dS )a´ 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 Úcbr r r r R ó þzServer.connection_addedc C r )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 r r r r c r zServer.connection_removed)Ú__name__Ú __module__Ú__qualname__Ú__doc__r r r r r r Úpropertyr Zget_addressr Zget_idÚidZget_is_connectedZis_connectedÚ __classcell__r r r r r s ÿ r N)Ú__all__Z __docformat__Z_dbus_bindingsr Zdbus.connectionr r r r r r Ú
s