| java.lang.Object org.objectweb.alarm.beans.AlarmManager
AlarmManager | public class AlarmManager (Code) | | AlarmManager implementation.
|
alarm | public synchronized void alarm(int severity, String from, String reason)(Code) | | a new Alarm is arrived must be synchronized to make sure we do not
create several AlarmRecord for the same Alarm (in case of many identical
Alarm arriving at the same time)
Parameters: severity - the level of severity Parameters: from - the device name Parameters: reason - the reason of the alarm |
delProfil | public boolean delProfil(String name)(Code) | | remove a Profil
Parameters: name - the name of the profile to remove true if the profile was removed |
forgetAlarm | public void forgetAlarm(String pk) throws RemoteException(Code) | | Mark an AlarmRecord as processed. We don't remove it now to keep it in
history.
Parameters: pk - the primary key throws: RemoteException - as it is remote it can fails |
getProfil | public Profil getProfil(String name)(Code) | | Parameters: name - of the profile to remove a reference on Profil object, given its name. |
getProfilNames | public String[] getProfilNames()(Code) | | the list of available profils |
newProfil | public Profil newProfil(String from, String maxsev)(Code) | | Makes a new Profil
Parameters: from - the device name Parameters: maxsev - the maximum level of severity the new profile created |
|
|