Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes

alma.acs.alarmsanalyzer.document.TenMinutesContainer Class Reference

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

List of all members.

Classes

class  TenMinutesNumber

Public Member Functions

void faultStateReceived (FaultState faultState)
void sourceXMLMsgReceived (String asiMessage)
void run ()
synchronized void shutdownContainer ()
void setChartViewer (ChartViewBase view)
synchronized void refresh ()

Static Public Member Functions

static TenMinutesContainer getInstance ()

Static Public Attributes

static final int MINUTESTIMEINTERVAL = 10

Protected Attributes

boolean shutdown = false

Detailed Description

The container with the number of alarms received every 10 minutes for a maximum of one week.

If the tool listens for alarms for more then one week, the oldest number are removed.

Author:
acaproni

Member Function Documentation

void alma.acs.alarmsanalyzer.document.TenMinutesContainer.faultStateReceived ( FaultState  faultState  ) 

An alarm has been received from the source NC.

Parameters:
alarm The alarm received from a source

Implements alma.alarmsystem.clients.source.SourceListener.

References alma.acs.alarmsanalyzer.document.TenMinutesContainer.TenMinutesNumber.inc().

static TenMinutesContainer alma.acs.alarmsanalyzer.document.TenMinutesContainer.getInstance (  )  [static]
synchronized void alma.acs.alarmsanalyzer.document.TenMinutesContainer.refresh (  ) 
void alma.acs.alarmsanalyzer.document.TenMinutesContainer.run (  ) 
void alma.acs.alarmsanalyzer.document.TenMinutesContainer.setChartViewer ( ChartViewBase  view  ) 

Set the view showing numbers from this container

Parameters:
view 
synchronized void alma.acs.alarmsanalyzer.document.TenMinutesContainer.shutdownContainer (  ) 

Shut down the container and free the resources

References alma.acs.alarmsanalyzer.document.TenMinutesContainer.shutdown.

void alma.acs.alarmsanalyzer.document.TenMinutesContainer.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.


Member Data Documentation

The time interval (in minutes) for recording alarms

Referenced by alma.acs.alarmsanalyzer.document.TenMinutesContainer.run().


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