add support for force clear

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@37444 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2013-12-10 11:16:35 +00:00
parent 9e395e44f5
commit 496d3e2823
2 changed files with 14 additions and 1 deletions

View file

@ -57,6 +57,14 @@
*/
- (oneway void) domanage: (in bycopy NSString*)managedObject;
/** Forces the clear of an alarm to be sent to any remote destination
* irrespective of whether the alarm has actually been raised or not.<br />
* You should not normally use this method ... it's for cases where a
* process starts up and wishes to clear an alarm which was actually
* raised by a different (eg. earlier instrance of the) process.
*/
- (oneway void) forceClear: (in bycopy EcAlarm*)event;
/** Inform the destination of the removal of a managed object.<br />
* This is an indicator of a graceful shutdown of that object ... meaning that
* the object has been stopped intentionally and all outstanding alarms for the
@ -124,7 +132,7 @@
/** Forces the clear of an alarm to be sent to any remote destination
* irrespective of whether the alarm has actually been raised or not.<br />
* You should not normally use this metod ... it's for cases where a
* You should not normally use this method ... it's for cases where a
* process starts up and wishes to clear an alarm which was actually
* raised by a different (eg. earlier instrance of the) process.
*/

View file

@ -1550,6 +1550,11 @@ static NSString *noFiles = @"No log files to archive";
[alarmDestination domanage: managedObject];
}
- (oneway void) forceClear: (in bycopy EcAlarm*)event
{
[alarmDestination forceClear: event];
}
- (oneway void) unmanage: (in bycopy NSString*)managedObject
{
[alarmDestination unmanage: managedObject];