controls-kt/controls-xodus
2021-12-16 23:14:32 +03:00
..
src Add some docs 2021-12-16 23:14:32 +03:00
build.gradle.kts Move to xodus-serialization 2021-12-04 02:15:57 +03:00
README.md Add some docs 2021-12-16 23:14:32 +03:00

Description

This module allows you to store DeviceMessages from certain DeviceManager or MagixMessages from magix server in xodus database.

Usage

All usage examples can be found in VirtualCarController.

Storage from Device Manager

Just call connectMongo. For more details, you can see comments in source code

Storage from Magix Server

Just pass such lambda as parameter to startMagixServer:

{ flow ->
    // some code
    storeInXodus(flow)
    // some code
}

For more details, you can see comments in source code