.. | ||
src/main/kotlin/ru/mipt/npm/controls/mongo | ||
build.gradle.kts | ||
README.md |
Description
This module allows you to store DeviceMessages from certain DeviceManager or MagixMessages from magix server in mongoDB.
Usage
All usage examples can be found in VirtualCarController.
Storage from Device Manager
Just call storeMessagesInXodus. 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
storeInMongo(flow)
// some code
}
For more details, you can see comments in source code