RemoteAttribute

constructor(emitNewAction: (DeviceConnectionManager.Event.AddAction) -> Unit, logger: Logger)

Parameters

emitNewAction

method to call when a new DeviceConnectionManager.Event.AddAction event should take place

logger

the Logger to use for logging.

Type Parameters

ReadAction

the DeviceAction.Read associated with the attribute

WriteAction

the DeviceAction.Write associated with the attribute