This commit is contained in:
Gregor_Dutzler
2019-10-11 09:03:14 +02:00
parent 032d3a9b9c
commit fb2b191a73
7 changed files with 88 additions and 79 deletions

View File

@@ -1,11 +1,6 @@
package com.wasteinformationserver;
import com.wasteinformationserver.mqtt.*;
import org.eclipse.paho.client.mqttv3.MqttException;
import java.net.URISyntaxException;
import java.sql.SQLException;
public class main {
public static void main(String[] args) {
/*
@@ -30,13 +25,11 @@ public class main {
Log.message("thread started");*/
mqtt m=new mqtt();
// m.notifymessage();
try {
m.getDatabasedata();
} catch (SQLException e) {
e.printStackTrace();
}
mqtt m = new mqtt();
// m.notifymessage();
m.getDatabasedata();
m.printlist();
// Log.message("mqtt irgentwos");
}
}