Class cern.lhcias.csgui.Events.AlarmEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----cern.lhcias.csgui.Events.AlarmEvent

public class AlarmEvent
extends EventObject

The AlarmEvent is an event used to send informations about any anormal situation detected in the RemoteView system. It will typically be sent by TagArrays when the value of a Tag is outside limits or by DataServers when a connection with a remote server is lost.


Variable Index

 o date
The date and time when the problem appeared.
 o group
The group of alarms to which this alarm belongs.
 o priority
The priority of the alarm.
 o text
The text of the alarm.

Constructor Index

 o AlarmEvent(Object, String, String, long)
 

Method Index

 o setDate(long)
 
 o setGroup(String)
 
 o setPriority(int)
 
 o setText(String)
 

Variables

 o text

 public String text
The text of the alarm.

 o group

 public String group
The group of alarms to which this alarm belongs.

 o priority

 public int priority
The priority of the alarm.

 o date

 public long date
The date and time when the problem appeared.

Constructors

 o AlarmEvent

 public AlarmEvent(Object sourceObject,
                   String aString,
                   String aGroup,
                   long aDate)

Methods

 o setText

 public void setText(String aString)

 o setGroup

 public void setGroup(String aGroup)

 o setDate

 public void setDate(long aDate)

 o setPriority

 public void setPriority(int aPriority)