ChannelCallback2 is an extension of the channel callback which provides more bullet proof mechanism to catch all updates and states.
More...
Public Member Functions | |
| void | updateValue (Channel channel, TDataType rawValue) |
| The channel value was updated and is given as a parameter. More... | |
| void | updateErrorStatus (Channel channel, TDataType value, int status) |
| The channel status was updated. More... | |
Public Member Functions inherited from de.desy.tine.accesslayer.ChannelCallback | |
| void | writeFailed (String address, Object value, int linkStatus) |
| An asynchronous write was attempted and failed with the given status. More... | |
| void | writeCompleted (String address, Object value) |
| Asynchronouse write completed successfully. More... | |
| void | updateValue (Channel channel) |
| The channel value was updated. More... | |
| void | updateErrorStatus (Channel channel) |
| The channel status was updated. More... | |
| void | channelError (String message, Throwable cause) |
| Called when the an error happened in the channels callback call. More... | |
ChannelCallback2 is an extension of the channel callback which provides more bullet proof mechanism to catch all updates and states.
For backward compatibility the extra methods are kept in a separate interface.
| void de.desy.tine.accesslayer.ChannelCallback2.updateErrorStatus | ( | Channel | channel, |
| TDataType | value, | ||
| int | status | ||
| ) |
The channel status was updated.
The status that triggered the call is given as a parameter.
| channel | the channel which value was updated |
| value | the value of the channel at the time when the event was triggered |
| status | the status that triggered the callback |
Implemented in de.desy.tine.accesslayer.ChannelCallbackAdapter.
The channel value was updated and is given as a parameter.
| channel | the channel which value was updated |
| rawValue | the value of the channel at the time when the event was triggered |
Implemented in de.desy.tine.accesslayer.ChannelCallbackAdapter.
1.8.17