public abstract class PointEventDetectorRT extends SimpleEventDetector implements DataPointListener
| Modifier and Type | Field and Description |
|---|---|
protected PointEventDetectorVO |
vo |
| Constructor and Description |
|---|
PointEventDetectorRT() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
createEventContext() |
java.lang.String |
getEventDetectorKey() |
protected EventType |
getEventType() |
protected abstract com.serotonin.web.i18n.LocalizableMessage |
getMessage() |
void |
initialize() |
void |
joinTermination() |
void |
pointBackdated(PointValueTime value)
This method is called when a backdated value is received.
|
void |
pointChanged(PointValueTime oldValue,
PointValueTime newValue)
This method is called every time the point gets a value that is different from its previous value (except for its
initialization).
|
void |
pointInitialized()
This method is called for all existing listeners when the point is initialized.
|
void |
pointSet(PointValueTime oldValue,
PointValueTime newValue)
This method is called every time the point gets set, whether the value changes or not.
|
void |
pointTerminated()
This method is called when the point has been terminated, allowing listeners to react as necessary.
|
void |
pointUpdated(PointValueTime newValue)
This method is called every time the point gets a value from somewhere (except for its initialization).
|
protected void |
raiseEvent(long time,
java.util.Map<java.lang.String,java.lang.Object> context) |
protected void |
returnToNormal(long time) |
void |
terminate() |
addListener, fireEventDetectorStateChanged, fireEventDetectorTerminated, hasListeners, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEventActiveprotected PointEventDetectorVO vo
protected EventType getEventType()
protected void raiseEvent(long time,
java.util.Map<java.lang.String,java.lang.Object> context)
protected void returnToNormal(long time)
protected java.util.Map<java.lang.String,java.lang.Object> createEventContext()
protected abstract com.serotonin.web.i18n.LocalizableMessage getMessage()
public java.lang.String getEventDetectorKey()
public void initialize()
initialize in interface com.serotonin.util.ILifecyclepublic void terminate()
terminate in interface com.serotonin.util.ILifecycleterminate in class SimpleEventDetectorpublic void joinTermination()
joinTermination in interface com.serotonin.util.ILifecyclepublic void pointChanged(PointValueTime oldValue, PointValueTime newValue)
DataPointListenerpointChanged in interface DataPointListenerpublic void pointSet(PointValueTime oldValue, PointValueTime newValue)
DataPointListenerpointSet in interface DataPointListenerpublic void pointUpdated(PointValueTime newValue)
DataPointListenerpointUpdated in interface DataPointListenerpublic void pointBackdated(PointValueTime value)
DataPointListenerpointBackdated in interface DataPointListenerpublic void pointInitialized()
DataPointListenerpointInitialized in interface DataPointListenerpublic void pointTerminated()
DataPointListenerpointTerminated in interface DataPointListener