IOT Dash
Public Member Functions | List of all members
IotDash.Services.History.HistoryWriter Class Reference
Inheritance diagram for IotDash.Services.History.HistoryWriter:
Inheritance graph
[legend]
Collaboration diagram for IotDash.Services.History.HistoryWriter:
Collaboration graph
[legend]

Public Member Functions

 HistoryWriter (IotInterface entity, IServiceScope scope)
 
void Dispose ()
 
- Public Member Functions inherited from IotDash.Domain.Mediator.ITarget< string, MqttApplicationMessage >
Task OnReceive (object? sender, TMsg message)
 

Detailed Description

Writes changes of one IotInterface to the database.

Part of the history writing service HostedHistoryService. Takes the responsibility for storing HistoryEntrys of one IotInterface.

Collection of these objects is being maintained by HostedHistoryService. At all times there exists exactly one per each interface, which returns true from IotInterface.NeedsWriter().


The documentation for this class was generated from the following file: