同步操作将从 光魔科技/vertx-examples 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Here you will find examples demonstrating Vert.x MQTT server and client in action.
Vert.x MQTT provides a server which is able to handle connections, communication and messages exchange with remote MQTT clients.
Vert.x MQTT provides also a client.
Please consult the Vert.x MQTT documentation for more information.
Examples can be run directly from the IDE by executing the main
method. Alternatively, you can run them using the
vertx
command line tool (that need to be installed beforehand):
mvn clean compile
vertx run fully-qualified-name-of-the-example -cp target/classes
Adapt the -cp
option value for your current working directory and operating system.
To use Vert.x MQTT Server or Client in your own Maven or Gradle project add the following dependency
Group ID: io.vertx Artifact ID: vertx-mqtt
These examples demonstrate usage of Vert.x MQTT servers and clients.
This example consists of a simple server verticle which serves MQTT connections, and simply echoes back whatever it receives.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。