IviServiceNullablePropertyDelegate

class IviServiceNullablePropertyDelegate<T>(observer: ChangeHandler<T?>) : IviServicePropertyDelegate<T?>

Property delegate for nullable IVI service properties, except MirrorableMap

Same as IviServiceNonNullPropertyDelegate but for nullable properties. The IviServiceBase does not check nullable properties.

For non-null properties, see IviServiceNonNullPropertyDelegate For MirrorableMap properties, see IviServiceNonNullMirrorableMapPropertyDelegate and IviServiceNullableMirrorableMapPropertyDelegate

Constructors

Link copied to clipboard
fun IviServiceNullablePropertyDelegate(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
operator fun getValue(thisRef: Any?, property: KProperty<*>): T?
Link copied to clipboard
operator fun setValue(    thisRef: Any?,     property: KProperty<*>,     value: T?)