⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
dbus
/
__pycache__
/
View File Name :
server.cpython-312.pyc
z]1 : d Z dZddlmZ ddlmZ G d de Zy))ServerreStructuredText )_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__)clsaddressconnection_classmainloopauth_mechanisms __class__s -/usr/lib/python3/dist-packages/dbus/server.pyr zServer.__new__+ s% " VS)#w8H/+ + c 0 i | _ g | _ g | _ y N)_Server__connectionson_connection_addedon_connection_removed)selfargskwargss r __init__zServer.__init__? s' #% K &(" r c \ |j | j | j | y r )call_on_disconnectionconnection_removedconnection_added)r conns r _on_new_connectionzServer._on_new_connectionN s$ ""4#:#:;d#r c P | j r| j D ] } || yy)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 cbs r r zServer.connection_addedR s) ##..4 / $r c P | j r| j D ] } || yy)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 zServer.connection_removedc s) %%004 1 &r )__name__ __module____qualname____doc__r r r r! r r propertyr get_addressr get_ididget_is_connectedis_connected __classcell__)r s @r r r s[ 0:t+($"" G//0GGNN+BG445Lr r N)__all__ __docformat___dbus_bindingsr dbus.connectionr r r r
r6 s% 4 " " &V6W V6r