def METHOD_NAME(self, attribute, value):
    """
    Notifies to the GUI that the IPCServer's status has changed
    :param attribute: the attribute that has changed ("port", "running")
    :type attribute: str
    :param value: the value that the attribute has changed to
    :type value: any
    """
    if attribute == "port":
        pass
    elif attribute == "running":
        if value:  # server is running now
            self.ui.serverStatus.setText("running: %s" % self.server_status["port"])
            self.ui.serverStatus.setStyleSheet(self.status_style % "lime")
            self.ui.toggleStatus.setText("Stop Server")
        else:
            self.ui.serverStatus.setText("shutdown")
            self.ui.serverStatus.setStyleSheet(self.status_style % "red")
            self.ui.toggleStatus.setText("Start Server")
        self.change_port_action.setEnabled(not value)
        self.ui.toggleStatus.setEnabled(True)
    else:
        logger.warning("'%s' is no valid server status attribute ")
        return
    self.server_status[attribute] = value