first commit
This commit is contained in:
16
src/Main.kt
16
src/Main.kt
@@ -4,19 +4,13 @@ import Web.WebUI
|
||||
import database.MySQLInjector
|
||||
import java.util.function.Consumer
|
||||
|
||||
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
|
||||
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
|
||||
lateinit var config : Config
|
||||
fun main() {
|
||||
val config = Config()
|
||||
config = Config()
|
||||
config.Load()
|
||||
val webUI = WebUI(config)
|
||||
val activeclient = ActiveMQClient(
|
||||
config.ActiveMQ_BrokerURL,
|
||||
config.ActiveMQ_Username,
|
||||
config.ActiveMQ_Password,
|
||||
config.ActiveMQ_QueueName
|
||||
)
|
||||
val mysql = MySQLInjector(config)
|
||||
val webUI = WebUI()
|
||||
val activeclient = ActiveMQClient()
|
||||
val mysql = MySQLInjector()
|
||||
|
||||
activeclient.MessageConsumer = Consumer{ message ->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user