Package org.onosproject.alarm
Interface AlarmTranslator
-
public interface AlarmTranslator
Abstraction of ability to translate device messages into alarms.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Alarm>
translateToAlarm(DeviceId deviceId, InputStream message)
Translates message from device into an alarm with appropriate information.
-
-
-
Method Detail
-
translateToAlarm
Collection<Alarm> translateToAlarm(DeviceId deviceId, InputStream message)
Translates message from device into an alarm with appropriate information.- Parameters:
deviceId
- devicemessage
- message from device to translate to alarm- Returns:
- Alarm with information determined by given message
-
-