org.tango.server.events
Class DefaultEventTrigger

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

public class DefaultEventTrigger
extends java.lang.Object
implements IEventTrigger

manage default Event trigger

Author:
ABEILLE

Constructor Summary
DefaultEventTrigger()
           
 
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

DefaultEventTrigger

public DefaultEventTrigger()
Method Detail

isSendEvent

public boolean isSendEvent()
                    throws fr.esrf.Tango.DevFailed
Specified by:
isSendEvent in interface IEventTrigger
Returns:
true if an event must be send
Throws:
fr.esrf.Tango.DevFailed

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-2017. All Rights Reserved.