IviServiceNonNullPropertyDelegateBase

abstract class IviServiceNonNullPropertyDelegateBase<T : Any>(observer: ChangeHandler<T>) : IviServicePropertyDelegate<T>

The base class for non-null IVI service property delegate. Have the same base type allows IviServicePropertyInitChecker to check if the property is initialized or not.

Constructors

Link copied to clipboard
fun IviServiceNonNullPropertyDelegateBase(observer: ChangeHandler<T>)

Properties

Link copied to clipboard
open override var afterChange: ChangeHandler<T>? = null

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
open override var beforeChange: ChangeHandler<T>? = null

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.

Functions

Link copied to clipboard
abstract fun isInitialized(): Boolean

Return if the property is initialised or not

Inheritors

Link copied to clipboard