'Set the link\'s runtime state.
Parameters
state : SchemeLink.State'

def set_runtime_state(self, state):

    if (self.__state != state):
        self.__state = state
        self.state_changed.emit(state)
