public class PointLinkRT extends java.lang.Object implements DataPointListener, PointLinkSetPointSource
SetPointSource.Types| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTEXT_VAR_NAME |
private SystemEventType |
eventType |
private org.apache.commons.logging.Log |
LOG |
private java.lang.Boolean |
ready |
private PointLinkVO |
vo |
| Constructor and Description |
|---|
PointLinkRT(PointLinkVO vo) |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkSource() |
private void |
execute(PointValueTime newValue) |
int |
getId() |
int |
getSetPointSourceId() |
int |
getSetPointSourceType() |
void |
initialize() |
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 |
pointSetComplete() |
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).
|
private void |
raiseFailureEvent(com.serotonin.web.i18n.LocalizableMessage message) |
private void |
raiseFailureEvent(long time,
com.serotonin.web.i18n.LocalizableMessage message) |
void |
raiseRecursionFailureEvent() |
private void |
returnToNormal() |
void |
terminate() |
public static final java.lang.String CONTEXT_VAR_NAME
private final PointLinkVO vo
private final SystemEventType eventType
private org.apache.commons.logging.Log LOG
private volatile java.lang.Boolean ready
public PointLinkRT(PointLinkVO vo)
public void initialize()
public void terminate()
public int getId()
private void checkSource()
private void raiseFailureEvent(com.serotonin.web.i18n.LocalizableMessage message)
private void raiseFailureEvent(long time,
com.serotonin.web.i18n.LocalizableMessage message)
private void returnToNormal()
private void execute(PointValueTime newValue)
public void pointInitialized()
DataPointListenerpointInitialized in interface DataPointListenerpublic void pointTerminated()
DataPointListenerpointTerminated in interface DataPointListenerpublic void pointChanged(PointValueTime oldValue, PointValueTime newValue)
DataPointListenerpointChanged in interface DataPointListenerpublic void pointSet(PointValueTime oldValue, PointValueTime newValue)
DataPointListenerpointSet in interface DataPointListenerpublic void pointBackdated(PointValueTime value)
DataPointListenerpointBackdated in interface DataPointListenerpublic void pointUpdated(PointValueTime newValue)
DataPointListenerpointUpdated in interface DataPointListenerpublic int getSetPointSourceId()
getSetPointSourceId in interface SetPointSourcepublic int getSetPointSourceType()
getSetPointSourceType in interface SetPointSourcepublic void raiseRecursionFailureEvent()
raiseRecursionFailureEvent in interface SetPointSourcepublic void pointSetComplete()
pointSetComplete in interface PointLinkSetPointSourcepointSetComplete in interface SetPointSource