RadioSessionEventHandler

class RadioSessionEventHandler(serviceStateWriter: ServiceStateWriter, mqttManager: MqttManager, nodeManager: NodeManager, serviceNotifications: MeshNotificationManager, firmwareUpdateStatusRepository: FirmwareUpdateStatusRepository, radioInterfaceService: RadioInterfaceService, scope: ServiceScope)(source)

Applies the MeshEvents an SDK session delivers after Ready. Callers run it on the session collector only while the session is active, so each synchronous effect lands in the session that raised it.

Constructors

Link copied to clipboard
constructor(serviceStateWriter: ServiceStateWriter, mqttManager: MqttManager, nodeManager: NodeManager, serviceNotifications: MeshNotificationManager, firmwareUpdateStatusRepository: FirmwareUpdateStatusRepository, radioInterfaceService: RadioInterfaceService, scope: ServiceScope)

Functions

Link copied to clipboard
fun handle(event: MeshEvent, session: RadioSessionContext)