<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __update_service_status(self, statuscode):
 """Set the internal status of the service object, and notify frontend."""

        if self.__service_status != statuscode:
            self.__service_status = statuscode
            self.__send_service_status_to_frontend()