Package org.onosproject.alarm
Interface AlarmConsumer
- 
- All Superinterfaces:
 Behaviour,HandlerBehaviour
public interface AlarmConsumer extends HandlerBehaviour
Abstraction of a device behaviour capable of retrieving/consuming list of pending alarms from the device. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Alarm>consumeAlarms()Returns the list of active alarms consumed from the device.- 
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour
handler, setHandler 
 - 
 
 - 
 
- 
- 
Method Detail
- 
consumeAlarms
java.util.List<Alarm> consumeAlarms()
Returns the list of active alarms consumed from the device. This means that subsequent retrieval of alarms will not contain any duplicates.- Returns:
 - list of alarms consumed from the device
 
 
 - 
 
 -