@@ -8,28 +8,28 @@ Classes
88
99 .. py :class :: DbusInterfaceCommonAsync(interface_name)
1010
11- Dbus async interface class.
12- Dbus methods and properties should be defined using
11+ D-Bus async interface class.
12+ D-Bus methods and properties should be defined using
1313 :py:func: `dbus_property_async `, :py:func: `dbus_signal_async `,
1414 and :py:func: `dbus_method_async ` decorators.
1515
1616 .. note ::
1717 Don't forget to call ``super().__init__() `` in derived classes
1818 init calls as it sets up important attributes.
1919
20- :param str interface_name: Sets the dbus interface
20+ :param str interface_name: Sets the D-Bus interface
2121 name that will be used for all properties, methods
2222 and signals defined in the body of the class.
2323
2424 :param bool serving_enabled: If set to :py:obj: `True `
25- the interface will not be served on dbus . Mostly used
25+ the interface will not be served on D-Bus . Mostly used
2626 for interfaces that sd-bus already provides such as
2727 ``org.freedesktop.DBus.Peer ``.
2828
2929 .. py :method :: dbus_ping()
3030 :async:
3131
32- Pings the remote service using dbus .
32+ Pings the remote service using D-Bus .
3333
3434 Useful to test if connection or remote service is alive.
3535
@@ -47,7 +47,7 @@ Classes
4747 .. py :method :: dbus_introspect()
4848 :async:
4949
50- Get dbus introspection XML.
50+ Get D-Bus introspection XML.
5151
5252 It is users responsibility to parse that data.
5353
@@ -92,50 +92,50 @@ Classes
9292
9393 .. py :method :: _proxify(bus, service_name, object_path)
9494
95- Begin proxying to a remote dbus object.
95+ Begin proxying to a remote D-Bus object.
9696
9797 :param str service_name:
98- Remote object dbus connection name.
98+ Remote object D-Bus connection name.
9999 For example, systemd uses ``org.freedesktop.systemd1 ``
100100
101101 :param str object_path:
102- Remote object dbus path.
102+ Remote object D-Bus path.
103103 Should be a forward slash separated path.
104104 Starting object is usually ``/ ``.
105105 Example: ``/org/freedesktop/systemd/unit/dbus_2eservice ``
106106
107107 :param SdBus bus:
108- Optional dbus connection object.
109- If not passed the default dbus will be used.
108+ Optional D-Bus connection object.
109+ If not passed the default D-Bus will be used.
110110
111111 .. py :classmethod :: new_proxy(bus, service_name, object_path)
112112
113113 Create new proxy object and bypass ``__init__ ``.
114114
115115 :param str service_name:
116- Remote object dbus connection name.
116+ Remote object D-Bus connection name.
117117 For example, systemd uses ``org.freedesktop.systemd1 ``
118118
119119 :param str object_path:
120- Remote object dbus path.
120+ Remote object D-Bus path.
121121 Should be a forward slash separated path.
122122 Starting object is usually ``/ ``.
123123 Example: ``/org/freedesktop/systemd/unit/dbus_2eservice ``
124124
125125 :param SdBus bus:
126- Optional dbus connection object.
127- If not passed the default dbus will be used.
126+ Optional D-Bus connection object.
127+ If not passed the default D-Bus will be used.
128128
129129 .. py :method :: export_to_dbus(object_path, bus)
130130
131- Object will appear and become callable on dbus .
131+ Object will appear and become callable on D-Bus .
132132
133133 :param str object_path:
134134 Object path that it will be available at.
135135
136136 :param SdBus bus:
137- Optional dbus connection object.
138- If not passed the default dbus will be used.
137+ Optional D-Bus connection object.
138+ If not passed the default D-Bus will be used.
139139
140140
141141.. py :class :: DbusObjectManagerInterfaceAsync(interface_name)
@@ -218,8 +218,8 @@ Classes
218218 Object to export to D-Bus.
219219
220220 :param SdBus bus:
221- Optional dbus connection object.
222- If not passed the default dbus will be used.
221+ Optional D-Bus connection object.
222+ If not passed the default D-Bus will be used.
223223
224224 :raises RuntimeError: ObjectManager was not exported.
225225
@@ -248,11 +248,11 @@ Decorators
248248
249249 Underlying function must be a coroutine function.
250250
251- :param str input_signature: dbus input signature.
251+ :param str input_signature: D-Bus input signature.
252252 Defaults to "" meaning method takes no arguments.
253253 Required if you intend to connect to a remote object.
254254
255- :param str result_signature: dbus result signature.
255+ :param str result_signature: D-Bus result signature.
256256 Defaults to "" meaning method returns empty reply on success.
257257 Required if you intend to serve the object.
258258
@@ -290,7 +290,7 @@ Decorators
290290 argument names will be used otherwise input arguments
291291 will be nameless
292292
293- :param str method_name: Force specific dbus method name
293+ :param str method_name: Force specific D-Bus method name
294294 instead of being based on Python function name.
295295
296296 Example: ::
@@ -318,7 +318,7 @@ Decorators
318318
319319.. py :decorator :: dbus_property_async(property_signature, [flags, [property_name]])
320320
321- Declare a dbus property.
321+ Declare a D-Bus property.
322322
323323 The underlying function has to be a regular ``def `` function.
324324
@@ -331,7 +331,7 @@ Decorators
331331 does not perform heavy IO or computation
332332 as that will block other methods or properties.
333333
334- :param str property_signature: Property dbus signature.
334+ :param str property_signature: Property D-Bus signature.
335335 Has to be a single type or container.
336336
337337 :param int flags: modifies behavior.
@@ -407,11 +407,11 @@ Decorators
407407
408408.. py :decorator :: dbus_signal_async([signal_signature, [signal_args_names, [flags, [signal_name]]]])
409409
410- Defines a dbus signal.
410+ Defines a D-Bus signal.
411411
412412 Underlying function return type hint is used for signal type hints.
413413
414- :param str signal_signature: signal dbus signature.
414+ :param str signal_signature: signal D-Bus signature.
415415 Defaults to empty signal.
416416
417417 :param Sequence[str] signal_args_names: sequence of signal argument names.
@@ -466,7 +466,7 @@ Decorators
466466 the service name of the proxy will be used.
467467
468468 :param str bus:
469- Optional dbus connection object.
469+ Optional D-Bus connection object.
470470 If not passed when called from proxy the bus connected
471471 to proxy will be used or when called from class default
472472 bus will be used.
0 commit comments