Client

Utility module that holds dbus classes.

class DbusClient[source]

Utility class providing initialization and access to various bus channels.

This class exist with the purpose to make all dbus channels available to any sub-commands at any given point in time. Since the commands usually need to communicate with different channels, and to avoid to re-initialize them across the application, this class exists to facilitate the job of the sub-commands to have a single interface to call any channel they need.

Initialize command utilities.

property chat_proxy: ChatInterface

Get chat proxy instance.

Returns:

An instance of ChatInterface with access to its methods.

Return type:

ChatInterface

property history_proxy: HistoryInterface

Get history proxy instance.

Returns:

An instance of HistoryInterface with access to its methods.

Return type:

HistoryInterface

property user_proxy: UserInterface

Get user proxy instance.

Returns:

An instance of UserInterface with access to its methods.

Return type:

UserInterface