code: def __update_service_status(self, statuscode):
          
          if self.__service_status != statuscode:
              self.__service_status = statuscode
              self.__send_service_status_to_frontend()
docs: Set the internal status of the service object, and notify frontend.