IviServicePropertyDelegate

interface IviServicePropertyDelegate<T>

Interface to allow IVI service implementations to setup an IVI service property delegate.

Delegates are used for all interface properties. The purpose of this property delegate is to notify an observer of property changes and to keep the generated <Interface>Base classes free of initial values.

Custom setters are not possible in combination with delegates. Therefore, this interface is provided as an alternative.

Parameters

T

The property type. Is nullable for nullable properties.

Properties

Link copied to clipboard
abstract var afterChange: ChangeHandler<T>?

When not null, this callback is invoked after an IVI service interface property has changed and the new value is propagated to clients.

Link copied to clipboard
abstract var beforeChange: ChangeHandler<T>?

When not null, this callback is invoked when an IVI service interface property has changed, before the actual property value is changed and the new value is propagated to clients.

Inheritors

Link copied to clipboard
Link copied to clipboard