From da15f706159db83100dde62b2e3069ae46e88c09 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Tue, 1 Jul 2014 15:25:33 +0200 Subject: Fix bug in alarm_handler documentation The documentation erroneously specified that clear_alarm/1 would clear *all* alarms with id AlarmId. This is now corrected according to the implementation - only the latest received alarm with the given AlarmId is cleared. --- lib/sasl/doc/src/alarm_handler.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'lib/sasl/doc/src/alarm_handler.xml') diff --git a/lib/sasl/doc/src/alarm_handler.xml b/lib/sasl/doc/src/alarm_handler.xml index ab3041137e..e4def7c7f5 100644 --- a/lib/sasl/doc/src/alarm_handler.xml +++ b/lib/sasl/doc/src/alarm_handler.xml @@ -5,7 +5,7 @@
1996 - 2013 + 2014 Ericsson AB, All Rights Reserved @@ -87,7 +87,9 @@ AlarmId = term() -

Clears all alarms with id AlarmId. +

Sends the clear_alarm event to all event handlers.

+

When receiving this event, the default simple handler + clears the latest received alarm with id AlarmId.

@@ -109,8 +111,10 @@ AlarmDescription = term() -

Sets an alarm with id AlarmId. This id is used at a - later stage when the alarm is cleared. +

Sends the set_alarm event to all event handlers.

+

When receiving this event, the default simple handler + stores the alarm. The AlarmId identifies the alarm + and is used when the alarm is cleared.

-- cgit v1.2.3