【文件属性】:
文件名称:advpl-stomp:TOTVS ADVPL STOMP协议实现
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-01 17:13:53
stomp advpl totvs stompclient xBase
advpl-stomp
实现STOMP消息传递协议的ADVPL库( )。
目标
这些是该库的最初目标
构建并验证消息;
发送消息到STOMP服务器;
解析STOMP服务器响应;
学习ADVPL编程;
致富 :money_bag: ;
如何使用它
使用此版本,您可以构建和发送基本的STOMP客户端框架。 订阅STOMP队列目前无法正常工作。
# include 'totvs.ch'
# include 'stomp.ch'
USER FUNCTION STOMP
LOCAL oStompClient , oLogger
oLogger := Logger (): New ( 'ADVPL-STOMP' )
oStompClient := TStompClient (): new ( "127.0.0.1" , 61613 , "user" , "password" , "vhost"
【文件预览】:
advpl-stomp-master
----src()
--------stomp_frame_builder.prw(2KB)
--------stomp_frame.prw(8KB)
--------stomp_client.prw(7KB)
--------logger.prw(3KB)
----LICENSE(1KB)
----README.md(2KB)
----tests()
--------testsuite.prw(12KB)
--------fluentexpr.prw(5KB)
--------stomp_frame_test.prw(754B)
----.gitignore(16B)
----include()
--------stomp.ch(4KB)
--------testsuite.ch(2KB)