Interface AlarmTranslator


  • public interface AlarmTranslator
    Abstraction of ability to translate device messages into alarms.
    • Method Detail

      • translateToAlarm

        Collection<Alarm> translateToAlarm​(DeviceId deviceId,
                                           InputStream message)
        Translates message from device into an alarm with appropriate information.
        Parameters:
        deviceId - device
        message - message from device to translate to alarm
        Returns:
        Alarm with information determined by given message