firefly-mqtt

所属分类:通讯编程
开发工具:Java
文件大小:0KB
下载次数:0
上传日期:2015-07-05 09:48:10
上 传 者sh-1993
说明:  萤火虫MQTT-了解发生了什么!,
(Firefly MQTT - Shed some light on what s going on!,)

文件列表:
Dependencies/ (0, 2015-06-10)
Dependencies/forms-1.3.0.jar (123351, 2015-06-10)
firefly/ (0, 2015-06-10)
firefly/.classpath (1204, 2015-06-10)
firefly/.project (366, 2015-06-10)
firefly/.settings/ (0, 2015-06-10)
firefly/.settings/org.eclipse.core.resources.prefs (112, 2015-06-10)
firefly/.settings/org.eclipse.jdt.core.prefs (587, 2015-06-10)
firefly/pom.xml (3580, 2015-06-10)
firefly/src/ (0, 2015-06-10)
firefly/src/main/ (0, 2015-06-10)
firefly/src/main/java/ (0, 2015-06-10)
firefly/src/main/java/org/ (0, 2015-06-10)
firefly/src/main/java/org/darugna/ (0, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/ (0, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/ (0, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/Callback1.java (1395, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/IMessageHandler.java (197, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/MainWindow.java (16586, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/TopicAutodiscover.java (1077, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/gui/ (0, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/gui/CheckBoxCellRenderer.java (1089, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/gui/SettingsDialog.java (6178, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/gui/TableFiller.java (1873, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/settings/ (0, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/settings/MqttSettings.java (5311, 2015-06-10)
firefly/src/main/java/org/darugna/alessandro/firefly/settings/SubscriptionSettings.java (1580, 2015-06-10)
firefly/src/main/java/org/eclipse/ (0, 2015-06-10)
firefly/src/main/java/org/eclipse/kura/ (0, 2015-06-10)
firefly/src/main/java/org/eclipse/kura/KuraErrorCode.java (1308, 2015-06-10)
firefly/src/main/java/org/eclipse/kura/KuraInvalidMessageException.java (903, 2015-06-10)
firefly/src/main/java/org/eclipse/kura/KuraInvalidMetricTypeException.java (793, 2015-06-10)
firefly/src/main/java/org/eclipse/kura/KuraRuntimeException.java (4121, 2015-06-10)
firefly/src/main/java/org/eclipse/kura/core/ (0, 2015-06-10)
firefly/src/main/java/org/eclipse/kura/core/cloud/ (0, 2015-06-10)
firefly/src/main/java/org/eclipse/kura/core/cloud/CloudPayloadEncoder.java (561, 2015-06-10)
firefly/src/main/java/org/eclipse/kura/core/cloud/CloudPayloadGZipEncoder.java (808, 2015-06-10)
firefly/src/main/java/org/eclipse/kura/core/cloud/CloudPayloadProtoBufDecoderImpl.java (4674, 2015-06-10)
... ...

# Firefly MQTT Firefly MQTT is a small "traffic sniffer" for MQTT protocol developed in Java7. It displays received messages in a table, with details like Retained flag and QoS. Firefly supports decoding [Eclipse Kura](http://www.eclipse.org/kura/) payload format, both regular and gzipped. In this first release all subscriptions have QoS 2. MQTT settings like broker, username etc are configurable and saved into a JSON configuration file in the same folder. Please be sure to have write permissions to the working folder where you run Firefly. If you find this tool useful I would like to hear your opinions. If you find a bug or want a feature [open an issue](https://github.com/darugnaa/firefly-mqtt/issues). This software is provided "as is" with _no_ warranties of any kind. ## Download You can download the jar [from here](https://drive.google.com/file/d/0B0tptNwKwCF_WkdXNUl6V01hQVU/view?usp=sharing) and just double-click it to start! If you wish to run it from command line just `java -jar firefly-0.0.1.jar` and you'll see all the nice debug output. **Important**: I released a shaded jar (aka uber jar) with all dependencies inside for convenience. See [Libraries section](#libraries) for the list of libraries included. ## Compile! Clone the repository to your local machine git clone https://github.com/darugnaa/firefly-mqtt.git cd firefly-mqtt Install the required jgoodies forms jar into local Maven repository cd Dependencies mvn install:install-file -DgroupId=com.jgoodies -DartifactId=forms -Dversion=1.3.0 -Dpackaging=jar -Dfile=forms-1.3.0.jar cd .. Now build with Maven cd firefly mvn clean verify You should find the firefly jar into `target/` folder. ## Develop! Firefly MQTT is developed in [Eclipse 4.4 Luna](http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/lunasr2) with [WindowBuilder](http://www.eclipse.org/windowbuilder/download.php). Import the project in Eclipse with "File -> Import", select "General -> Existing projects into Workspace" and open the inner `firefly` folder. The project is compiled and packed using [Maven 3.0.5](https://maven.apache.org/download.cgi). ## TO DOs * Right click popup menu on JTable with options "Copy" topic/payload * Right click popup menu on JList add option to "Copy" topic * Re-subscribe on connect * Fix concurrentmodificationexception on table model * Counter with msgs/sec (add status bar to UI?) * MqttSetting on a "per server" basis * Warn the user if broker address is invalid * Warn the user on connection issues * Limit the maximum of messages that the table can hold * Persist subscriptions settings * Persist settings into user and os specific folders (/home/user/.firefly on linux/osx and %APPDATA% on windows) ## Libraries A complete list of libraries used in this project can be found [in the pom.xml](https://github.com/darugnaa/firefly-mqtt/blob/master/firefly/pom.xml#L31). I included in my sources the classes from [Eclipse Kura source code](https://github.com/eclipse/kura) required to decode Kura payloads.

近期下载者

相关文件


收藏者