Package dtk :: Package ui :: Module unique_service

Module unique_service

source code

Classes
  UniqueService
This class implement a dbus interface, which is used to ensure that the program or service is unique in the system.
Functions
 
is_exists(app_dbus_name, app_object_name)
Check the program or service is already started by its app_dbus_name and app_object_name.
source code
Function Details

is_exists(app_dbus_name, app_object_name)

source code 

Check the program or service is already started by its app_dbus_name and app_object_name.

Parameters:
  • app_dbus_name - the public service name of the service.
  • app_object_name - the public service path of the service.
Returns:
If the service is already on, True is returned. Otherwise return False.