def METHOD_NAME(self, name, value, timestamp):
    if name == self.MOTOR_STATES_EVENT:
        array = self.parseArray(value)
        value = self.createDictFromStringList(array)
    self.onReceivedEvent(name, value, timestamp)