org.tango.server.events
Class QualityEventTrigger

java.lang.Object
  extended by org.tango.server.events.QualityEventTrigger
All Implemented Interfaces:
IEventTrigger

public class QualityEventTrigger
extends java.lang.Object
implements IEventTrigger

manage trigger for EventType#QUALITY_EVENT

Author:
ABEILLE

Constructor Summary
QualityEventTrigger(AttributeImpl attribute)
          Ctr
 
Method Summary
 boolean doCheck()
           
 boolean isSendEvent()
           
 void setError(fr.esrf.Tango.DevFailed error)
          Notify the trigger of the last error occured
 void updateProperties()
          Update event properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualityEventTrigger

public QualityEventTrigger(AttributeImpl attribute)
Ctr

Parameters:
attribute - The attribute that will send events
Method Detail

isSendEvent

public boolean isSendEvent()
Specified by:
isSendEvent in interface IEventTrigger
Returns:
true if an event must be send

setError

public void setError(fr.esrf.Tango.DevFailed error)
Description copied from interface: IEventTrigger
Notify the trigger of the last error occured

Specified by:
setError in interface IEventTrigger

updateProperties

public void updateProperties()
Description copied from interface: IEventTrigger
Update event properties

Specified by:
updateProperties in interface IEventTrigger

doCheck

public boolean doCheck()
Specified by:
doCheck in interface IEventTrigger
Returns:
true if do the event fire check


Copyright © 2012-2014. All Rights Reserved.