23e821d2c2
# Conflicts: # controls-mongo/build.gradle.kts # controls-mongo/src/main/kotlin/ru/mipt/npm/controls/mongo/connections.kt # controls-xodus/src/main/kotlin/ru/mipt/npm/controls/xodus/connections.kt # controls-xodus/src/main/kotlin/ru/mipt/npm/controls/xodus/util/queries.kt # demo/car/src/main/kotlin/ru/mipt/npm/controls/demo/car/VirtualCarController.kt |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts | ||
README.md |
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