public class PublishedPointRT<T extends PublishedPointVO> extends java.lang.Object implements DataPointListener
Modifier and Type | Field and Description |
---|---|
private PublisherRT<T> |
parent |
private boolean |
pointEnabled |
private T |
vo |
Constructor and Description |
---|
PublishedPointRT(T vo,
PublisherRT<T> parent) |
Modifier and Type | Method and Description |
---|---|
T |
getVo() |
boolean |
isPointEnabled() |
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).
|
void |
terminate() |
private final T extends PublishedPointVO vo
private final PublisherRT<T extends PublishedPointVO> parent
private boolean pointEnabled
public PublishedPointRT(T vo, PublisherRT<T> parent)
public void terminate()
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 pointUpdated(PointValueTime newValue)
DataPointListener
pointUpdated
in interface DataPointListener
public void pointBackdated(PointValueTime value)
DataPointListener
pointBackdated
in interface DataPointListener
public boolean isPointEnabled()
public void pointInitialized()
DataPointListener
pointInitialized
in interface DataPointListener
public void pointTerminated()
DataPointListener
pointTerminated
in interface DataPointListener
public T getVo()