Rearchitected the broker, switching from ProtocolProcessor and publisher to MQTTConnection, Session and PostOffice
This commit is contained in:
@@ -13,7 +13,7 @@ import org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence
|
||||
* */
|
||||
|
||||
if (args.size() != 3) {
|
||||
println "usage: <host> <num_serial_connctions> <local client name>"
|
||||
println "usage: <host> <num_serial_connections> <local client name>"
|
||||
return
|
||||
}
|
||||
|
||||
@@ -31,4 +31,4 @@ println "start loppoing to ${numSerialConnection} conn-discon"
|
||||
client1.disconnect()
|
||||
print "."
|
||||
}
|
||||
println "Done"
|
||||
println "Done"
|
||||
|
||||
Reference in New Issue
Block a user