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()
DataPointListener
pointInitialized
in interface DataPointListener
public void pointTerminated()
DataPointListener
pointTerminated
in interface DataPointListener
public void pointChanged(PointValueTime oldValue, PointValueTime newValue)
DataPointListener
pointChanged
in interface DataPointListener
public void pointSet(PointValueTime oldValue, PointValueTime newValue)
DataPointListener
pointSet
in interface DataPointListener
public void pointBackdated(PointValueTime value)
DataPointListener
pointBackdated
in interface DataPointListener
public void pointUpdated(PointValueTime newValue)
DataPointListener
pointUpdated
in interface DataPointListener
public int getSetPointSourceId()
getSetPointSourceId
in interface SetPointSource
public int getSetPointSourceType()
getSetPointSourceType
in interface SetPointSource
public void raiseRecursionFailureEvent()
raiseRecursionFailureEvent
in interface SetPointSource
public void pointSetComplete()
pointSetComplete
in interface PointLinkSetPointSource
pointSetComplete
in interface SetPointSource