Implemented StateDatabaseHandler . Intended to solve persistent of state for the backend. StartGrpcServer calls LoadFromDB during startup to get readings stored in the database.
Methods for StateDatabaseHandler
InitStateDatabase sets up the Database
LoadFromDB gets the readings stored in the database.
Save saves a single reading to the database.
From branch #128
Implemented a simple web page front end for displaying the current readings in the state of the backend, the implementation uses http. The StateLogServer calls GetState in BackendStateHandler to get the readings to be displayed.
Implemented
StateDatabaseHandler
. Intended to solve persistent of state for the backend.StartGrpcServer
callsLoadFromDB
during startup to get readings stored in the database. Methods forStateDatabaseHandler
InitStateDatabase
sets up the DatabaseLoadFromDB
gets the readings stored in the database.Save
saves a single reading to the database.From branch #128 Implemented a simple web page front end for displaying the current readings in the state of the backend, the implementation uses http. The
StateLogServer
callsGetState
inBackendStateHandler
to get the readings to be displayed.