Linux server1.hosting4iran.com 4.18.0-553.123.2.el8_10.x86_64 #1 SMP Thu May 7 15:28:41 EDT 2026 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.216.67
Domains : 318 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3.6 /
site-packages /
pydbus /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2023-11-28 12:31
__init__.py
148
B
-rw-r--r--
2016-12-18 16:27
_inspect3.py
708
B
-rw-r--r--
2016-12-18 16:27
auto_names.py
519
B
-rw-r--r--
2016-12-18 16:27
bus.py
1.53
KB
-rw-r--r--
2016-12-18 16:27
bus_names.py
3.45
KB
-rw-r--r--
2016-12-18 16:27
error.py
2.52
KB
-rw-r--r--
2019-11-14 17:05
exitable.py
982
B
-rw-r--r--
2016-12-18 16:27
generic.py
2.53
KB
-rw-r--r--
2016-12-18 16:27
identifier.py
383
B
-rw-r--r--
2016-12-18 16:27
method_call_context.py
1.01
KB
-rw-r--r--
2016-12-18 16:27
proxy.py
4.1
KB
-rw-r--r--
2016-12-18 16:27
proxy_method.py
3.98
KB
-rw-r--r--
2019-11-14 17:05
proxy_property.py
1.04
KB
-rw-r--r--
2016-12-18 16:27
proxy_signal.py
2.06
KB
-rw-r--r--
2016-12-18 16:27
publication.py
1.36
KB
-rw-r--r--
2016-12-18 16:27
registration.py
5.58
KB
-rw-r--r--
2019-11-14 17:05
request_name.py
883
B
-rw-r--r--
2016-12-18 16:27
subscription.py
2.12
KB
-rw-r--r--
2016-12-18 16:27
timeout.py
303
B
-rw-r--r--
2016-12-18 16:27
Save
Rename
from gi.repository import Gio from .exitable import ExitableWithAliases from .auto_names import * class Publication(ExitableWithAliases("unpublish")): __slots__ = () def __init__(self, bus, bus_name, *objects, **kwargs): # allow_replacement=True, replace=False # Python 2 sux for kwarg in kwargs: if kwarg not in ("allow_replacement", "replace",): raise TypeError(self.__qualname__ + " got an unexpected keyword argument '{}'".format(kwarg)) allow_replacement = kwargs.get("allow_replacement", True) replace = kwargs.get("replace", False) bus_name = auto_bus_name(bus_name) for object_info in objects: path, object, node_info = (None, None, None) if type(object_info) == tuple: if len(object_info) == 3: path, object, node_info = object_info if len(object_info) == 2: path, object = object_info if len(object_info) == 1: object = object_info[0] else: object = object_info path = auto_object_path(bus_name, path) self._at_exit(bus.register_object(path, object, node_info).__exit__) # Request name only after registering all the objects. self._at_exit(bus.request_name(bus_name, allow_replacement=allow_replacement, replace=replace).__exit__) class PublicationMixin(object): __slots__ = () def publish(self, bus_name, *objects): """Expose objects on the bus.""" return Publication(self, bus_name, *objects)