ruon.jiao
Class JIAO.Event

java.lang.Object
  extended by ruon.jiao.JIAO.IAlarm
      extended by ruon.jiao.JIAO.Event
Enclosing class:
JIAO

public static class JIAO.Event
extends JIAO.IAlarm

An Event object, passed to the reportAlarms() method.

An Event is reported to the user just like an alarm but is not maintained in the active alarm table and is not expected to have a corresponding Clear event.


Nested Class Summary
 
Nested classes/interfaces inherited from class ruon.jiao.JIAO.IAlarm
JIAO.IAlarm.Severity
 
Field Summary
 
Fields inherited from class ruon.jiao.JIAO.IAlarm
CRITICAL, MAJOR, MINOR
 
Constructor Summary
JIAO.Event(java.lang.String resource, java.lang.String id, JIAO.IAlarm.Severity severity, java.lang.String description)
          Create an Event object
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JIAO.Event

public JIAO.Event(java.lang.String resource,
                  java.lang.String id,
                  JIAO.IAlarm.Severity severity,
                  java.lang.String description)
Create an Event object

Parameters:
resource - Resource that has the alarm (Combined with id, this is the unique identifier of the alarm). (Up to 256 bytes)
id - An id that is unique for the alarmed resource. (Up to 256 bytes)
severity - The severity of the alarm (Criticalm, Major or Minor).
description - The verbal description of the alarm (Up to 1024 bytes).