Main Page | Features | Central Services | csv-Files | Types | Transfer | Access | API-C | API-.NET | API-Java | Examples | Downloads
page generated on 31.05.2023 - 04:45
Public Member Functions | List of all members
de.desy.tine.accesslayer.ChannelCallback2 Interface Reference

ChannelCallback2 is an extension of the channel callback which provides more bullet proof mechanism to catch all updates and states. More...

Inheritance diagram for de.desy.tine.accesslayer.ChannelCallback2:
de.desy.tine.accesslayer.ChannelCallback de.desy.tine.accesslayer.ChannelCallbackAdapter

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...
 

Detailed Description

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.

Author
Jaka Bobnar
Deprecated:
use ChannelListener

Member Function Documentation

◆ updateErrorStatus()

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.

Parameters
channelthe channel which value was updated
valuethe value of the channel at the time when the event was triggered
statusthe status that triggered the callback
Deprecated:
use ChannelListener#updateError(ChannelReadEvent) instead

Implemented in de.desy.tine.accesslayer.ChannelCallbackAdapter.

◆ updateValue()

void de.desy.tine.accesslayer.ChannelCallback2.updateValue ( Channel  channel,
TDataType  rawValue 
)

The channel value was updated and is given as a parameter.

Parameters
channelthe channel which value was updated
rawValuethe value of the channel at the time when the event was triggered
Deprecated:
use ChannelListener#updateValue(ChannelReadEvent) instead

Implemented in de.desy.tine.accesslayer.ChannelCallbackAdapter.


The documentation for this interface was generated from the following file: