fighter-lee / easymqtt Goto Github PK
View Code? Open in Web Editor NEW简单稳定好用的mqtt库,链式调用。
简单稳定好用的mqtt库,链式调用。
We would really appreciate it if you could kindly add a permissive open source license.
点击两次断开,第二次的时候怎么判断已经断开了,封装的那个断开回调没走
Not allowed to start service Intent { cmp=com.dfd.ccccccc/top.fighter_lee.mqttlibs.mqtt_service.MqttService }: app is in background uid UidRecord{c865764 u0a245 SVC bg:+1m6s737ms idle change:idle procs:2 proclist:28674,28718, seq(0,0,0)}
05-16 19:37:20.894 29858-29858/com.szyh.hangzhouvanke E/MqttEngine: onFailure
(32102)
at top.fighter_lee.mqttlibs.mqttv3.internal.ClientState.resolveOldTokens(ClientState.java:1104)
at top.fighter_lee.mqttlibs.mqttv3.internal.ClientComms.handleOldTokens(ClientComms.java:441)
at top.fighter_lee.mqttlibs.mqttv3.internal.ClientComms.shutdownConnection(ClientComms.java:363)
at top.fighter_lee.mqttlibs.mqttv3.internal.ClientComms$DisconnectBG.run(ClientComms.java:734)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/localbroadcastmanager/content/LocalBroadcastManager;
at top.fighter_lee.mqttlibs.mqtt_service.MqttService.callbackToActivity(MqttService.java:297)
at top.fighter_lee.mqttlibs.mqtt_service.MqttConnection.publish(MqttConnection.java:541)
at top.fighter_lee.mqttlibs.mqtt_service.MqttService.publish(MqttService.java:454)
at top.fighter_lee.mqttlibs.mqtt_service.MqttAndroidClient.publish(MqttAndroidClient.java:719)
at top.fighter_lee.mqttlibs.connect.PubCommand.execute(PubCommand.java:68)
at top.fighter_lee.mqttlibs.connect.MqttManager.pub(MqttManager.java:82)
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.localbroadcastmanager.content.LocalBroadcastManager" on path: DexPathList[[zip file "/data/app/com.ubains.iflytekcontrol-2/base.apk"],nativeLibraryDirectories=[/data/app/com.ubains.iflytekcontrol-2/lib/arm64, /system/lib64, /vendor/lib64
注册消息回调时,成功的时候,如果订阅了一个主题,回调的一个方法会一直走,有时候会失败,没有回调,消息来的时候就收不到了
token?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.