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.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
TMQTTClient-delphi2010.zip (84个子文件)
TMQTTClient-delphi2010
uMain.dfm 4KB
MQTT_Test.dpr 585B
MQTT_Test.dproj.2007 4KB
uMain.dcu 10KB
TMQTTClient
MQTTReadThread.pas 8KB
MQTT.pas 20KB
MQTTReadThread.dcu 8KB
MQTT.dcu 17KB
MQTT_Test.res 5KB
MQTT_Test.dproj.local 62B
uMain.pas 3KB
MQTT_Test.identcache 1KB
MQTT_Test.exe 912KB
CHANGELOG.txt 810B
README.txt 2KB
LICENSE.txt 1KB
MQTT_Test.dproj 5KB
synapse
synaip.ppu 5KB
httpsend.ppu 16KB
synadbg.pas 6KB
synacode.ppu 39KB
laz_synapse.lpk 4KB
synacode.pas 51KB
laz_synapse.pas 622B
synautil.pas 49KB
mimepart.pas 34KB
synaip.dcu 8KB
synacode.dcu 30KB
synafpc.ppu 2KB
synaip.pas 12KB
blcksock.pas 128KB
synacrypt.pas 50KB
tlntsend.pas 11KB
httpsend.pas 27KB
blcksock.o 160KB
ftptsend.pas 12KB
mimeinln.pas 9KB
clamsend.pas 9KB
wincegpsapi.pas 7KB
cepowerman.pas 8KB
asn1util.pas 15KB
synautil.ppu 30KB
synsock.ppu 47KB
pingsend.pas 21KB
pop3send.pas 15KB
synamisc.pas 13KB
ssfpc.pas 28KB
synaser.pas 67KB
backup
synautil.pas.bak 49KB
dnssend.pas 19KB
synaip.o 14KB
snmpsend.pas 35KB
synaicnv.pas 11KB
sslinux.pas 40KB
synautil.dcu 36KB
ssl_sbb.pas 20KB
httpsend.o 42KB
ssl_streamsec.pas 17KB
ssl_cryptlib.pas 19KB
sswince.pas 53KB
smtpsend.pas 25KB
ssl_openssl_lib.pas 75KB
ssdotnet.pas 35KB
blcksock.ppu 91KB
synautil.o 79KB
imapsend.pas 26KB
sntpsend.pas 13KB
synachar.pas 72KB
synafpc.o 3KB
mimemess.pas 27KB
slogsend.pas 10KB
synafpc.pas 5KB
ssl_openssl.pas 22KB
connmgr.pas 31KB
synafpc.dcu 460B
synsock.o 72KB
ftpsend.pas 55KB
ldapsend.pas 36KB
synsock.dcu 37KB
nntpsend.pas 14KB
synsock.pas 4KB
sswin32.pas 54KB
blcksock.dcu 109KB
synacode.o 42KB
共 84 条
- 1
资源评论
- nippycn2022-04-08已下载,使用中会停止订阅,不知道是不是订阅的消息字符太多的原因
yorkt
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功