Classes | Public Member Functions | Static Public Member Functions

alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer Class Reference

Inheritance diagram for alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer:
alma.acs.alarmsanalyzer.document.DocumentBase alma.alarmsystem.clients.source.SourceListener

List of all members.

Classes

class  AlarmCounter
class  ChatteringAlarm

Public Member Functions

void setTableViewer (TableViewer table)
synchronized Collection<?> getNumbers ()
void run ()
synchronized void faultStateReceived (FaultState faultState)
void sourceXMLMsgReceived (String asiMessage)
void setTableContent (TableData tData)

Static Public Member Functions

static ChatteringAlarmsContainer getInstance ()

Detailed Description

The container of chattering alarms i.e. alarms whose state changes at least 3 times per minute.

Each chattering alarms is an entry of the table. If the same alarm at a certain minute chatters more then it happened previously, its number and dates are updated to show the peak.

While counting for chattering alarms, this containers remember the last registered state because if an alarm is terminated three times but never activated this is not a chatter.

The number of activation/termination can instead be investigated in the MFA table.

This container has one list for the ChatteringAlrms (chatteringAlarms) to be sent to the table model, and another one (tempAlarms) where received alarms are updated every minute. At the end of the time interval, this new list is flushed in the the list for the view.

Author:
acaproni

Member Function Documentation

synchronized void alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.faultStateReceived ( FaultState  faultState  ) 
static ChatteringAlarmsContainer alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.getInstance (  )  [static]
synchronized Collection<?> alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.getNumbers (  ) 
void alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.run (  ) 
void alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.setTableContent ( TableData  tData  ) 
void alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.setTableViewer ( TableViewer  table  ) 

Ovveride to start the thread to refresh the vie

void alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.sourceXMLMsgReceived ( String  asiMessage  ) 

An XML has been received from the source NC.

The XML follows the ASIMessage.xsd schema definition and therefore it might have one or more fault states.

Parameters:
asiMessage The ASIMessage received from an alarm source

Implements alma.alarmsystem.clients.source.SourceListener.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties