TMQTTClient Library Version 1.01 for Delphi by Jamie Ingilby
INTRODUCTION:
TMQTTClient is a non-visual Delphi Client Library for the IBM Websphere MQ Transport Telemetry protocol. It allows you to connect to a Message Broker that uses MQTT such as the Really Small Message Broker(http://alphaworks.ibm.com/tech/rsmb) which is freely available for evaluation purposes on IBM Alphaworks.
The Documentation of the protocol can be found here:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac10840_.htm
LIMITATIONS:
This is not a reference implementation of the MQTT Protocol but does support both Publishing Messages and Subscribing to Topics with the following limitations:
- It only allows and supports QoS 0 Messages. I havent built QoS levels 1 or 2 in yet as I personally have no need for them but this is planned for future versions.
- You are required to schedule pinging the server yourself (using a TTimer for examples). The client library implements a ping command but doesnt automatically ping the server itself at regular intervals.
Note: You should also be aware that it uses part of the Synapse Internet Communications Library for its Socket support so youll need to ensure that this is available on your search path.
HOMEPAGE:
http://jamie.op-i.net/blog/code/mqtt-client-library-for-delphi/
USAGE:
There is a sample project included in the download but usage is relatively simple. This is a non-visual component so all you need to do is to put MQTT.pas and MQTTReadThread.pas into a directory that is in your compiler paths and then put MQTT in your uses.
uses MQTT;
var
MQTTClient: TMQTTClient;
begin
MQTTClient := TMQTTClient.Create('127.0.0.1', 1883);
MQTTClient.Connect;
MQTTClient.Publish('/dev/test', 'This is a test message.');
MQTTClient.Disconnect;
MQTTClient.Free;
end;
Special Thanks go to Andy Stanford-Clark and Nick OLeary for their help on various hiccups that I encountered while developing and testing TMQTTClient.
If you are using my TMQTTClient in anything then Id love to hear about how youre using it, please contact me and let me know what youre using it for.
没有合适的资源?快使用搜索试试~ 我知道了~
MQTT测试客户端 Delphi10.3测试可用
共69个文件
pas:9个
dcu:9个
txt:3个
3星 · 超过75%的资源 需积分: 50 75 下载量 70 浏览量
2019-11-02
08:40:41
上传
评论 4
收藏 2.39MB ZIP 举报
温馨提示
MQTT测试客户端 Delphi10.3测试可用,根据网上资料,自己写的客户端。
资源推荐
资源详情
资源评论
收起资源包目录
TMQTTClient1.zip (69个子文件)
TMQTTClient1
uMain.dfm 5KB
__history
uMain.dfm.~17~ 5KB
uMain.dfm.~12~ 5KB
uMain.dfm.~19~ 5KB
uMain.pas.~20~ 4KB
uMain.pas.~22~ 4KB
uMain.dfm.~16~ 5KB
uMain.dfm.~18~ 5KB
uMain.pas.~14~ 3KB
MQTT_Test.dpr.~1~ 355B
uMain.dfm.~15~ 5KB
uMain.pas.~18~ 4KB
uMain.pas.~21~ 4KB
uMain.pas.~13~ 3KB
uMain.pas.~17~ 4KB
uMain.pas.~16~ 4KB
uMain.dfm.~20~ 5KB
uMain.pas.~19~ 4KB
uMain.dfm.~13~ 5KB
uMain.dfm.~11~ 5KB
uMain.pas.~15~ 3KB
uMain.dfm.~14~ 5KB
__recovery
MQTT_Test_Icon.ico 4KB
MQTT_Test.dpr 609B
MQTT_Test.dproj.2007 4KB
uMain.dcu 14KB
TMQTTClient
__history
synautil.pas.~1~ 56KB
synautil.pas.~2~ 56KB
MQTT.pas.~17~ 20KB
MQTT.pas.~20~ 20KB
MQTT.pas.~24~ 21KB
synautil.pas.~3~ 56KB
MQTT.pas.~16~ 20KB
MQTT.pas.~18~ 20KB
MQTT.pas.~15~ 20KB
MQTT.pas.~21~ 20KB
MQTT.pas.~19~ 20KB
MQTT.pas.~23~ 21KB
MQTT.pas.~22~ 21KB
MQTTReadThread.pas.~1~ 8KB
synacode.pas 51KB
__recovery
synautil.pas 56KB
synaip.dcu 8KB
synacode.dcu 29KB
synaip.pas 12KB
sswin32.inc 55KB
blcksock.pas 130KB
MQTTReadThread.pas 8KB
MQTT.pas 21KB
MQTTReadThread.dcu 9KB
synautil.dcu 38KB
MQTT.dcu 19KB
synafpc.pas 5KB
synafpc.dcu 606B
synsock.dcu 39KB
synsock.pas 4KB
blcksock.dcu 112KB
MQTT_Test.res 58KB
MQTT_Test.zip 1.01MB
MQTT_Test.dproj.local 62B
uMain.pas 4KB
MQTT_Test.identcache 776B
MQTT_Test.exe 2.56MB
CHANGELOG.txt 810B
README.txt 2KB
LICENSE.txt 1KB
MQTT_Test.stat 168B
MQTT_Test.dproj 11KB
MQTT_Test.skincfg 1KB
共 69 条
- 1
资源评论
- 意帆2021-10-02可以使用,但是与最新的对接不上json数据是不行的
yuteria
- 粉丝: 13
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功