Linux 186-227-203-186.cprapid.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
Apache
Server IP : 186.227.203.186 & Your IP : 216.73.216.101
Domains : 154 Domain
User : pmcaxingo
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
usr /
share /
doc /
python3-slip-dbus /
Delete
Unzip
Name
Size
Permission
Date
Action
example
[ DIR ]
drwxr-xr-x
2024-11-05 16:19
README
1.04
KB
-rw-r--r--
2015-09-18 20:25
Save
Rename
This package contains slip.dbus.service.Object which has these features: 1) It easily allows to create dbus-activated services which end themselves when their clients disconnect from the bus. This is helpful if you want your service to survive along with its client(s) because it e.g. contains non-trivial state, does other things on startup which are expensive in some way or monitors other things and notifies dbus clients about it. Usage: In the most simple case just derive your service class from slip.dbus.service.Object instead of dbus.service.Object, then call slip.dbus.service.set_mainloop () before actually running your main loop. No changes to your client code are necessary. 2) It simplifies hooking up your services with PolicyKit. Usage: Mark your service methods with the @slip.dbus.polkit.require_auth(action_name) decorator. If you want to enable using PolicyKit with an API <= 0.9, you need to mark the corresponding proxy methods with the @polkit.enable_proxy decorator. NB: Remember that PolicyKit action names have to be lower-case.