资源简介
从git上下的paho.mqtt.m2mqtt-master,在此基础上做的测试窗体(连接,订阅,推送,重连)和json解析。引用时记得改为生成类库
代码片段和文件信息
/*
Copyright (c) 2013 2014 Paolo Patierno
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
and Eclipse Distribution License v1.0 which accompany this distribution.
The Eclipse Public License is available at
http://www.eclipse.org/legal/epl-v10.html
and the Eclipse Distribution License is available at
http://www.eclipse.org/org/documents/edl-v10.php.
Contributors:
Paolo Patierno - initial API and implementation and/or initial documentation
*/
using System;
using System.Text;
namespace uPLibrary.Networking.M2Mqtt
{
///
/// Interface for channel under MQTT library
///
public interface IMqttNetworkChannel
{
///
/// Data available on channel
///
bool DataAvailable { get; }
///
/// Receive data from the network channel
///
/// Data buffer for receiving data
/// Number of bytes received
int Receive(byte[] buffer);
///
/// Receive data from the network channel with a specified timeout
///
/// Data buffer for receiving data
/// Timeout on receiving (in milliseconds)
/// Number of bytes received
int Receive(byte[] buffer int timeout);
///
/// Send data on the network channel to the broker
///
/// Data buffer to send
/// Number of byte sent
int Send(byte[] buffer);
///
/// Close the network channel
///
void Close();
///
/// Connect to remote server
///
void Connect();
///
/// Accept client connection
///
void Accept();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2906 2016-10-21 01:32 paho.mqtt.m2mqtt-master\.gitignore
文件 1605 2016-10-21 01:32 paho.mqtt.m2mqtt-master\about.html
文件 3137 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Exceptions\MqttClientException.cs
文件 1163 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Exceptions\MqttCommunicationException.cs
文件 907 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Exceptions\MqttConnectionException.cs
文件 767 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Exceptions\MqttTimeoutException.cs
文件 2102 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\IMqttNetworkChannel.cs
文件 739 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Internal\InternalEvent.cs
文件 1324 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Internal\MsgInternalEvent.cs
文件 1514 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Internal\MsgPublishedInternalEvent.cs
文件 5488 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\M2Mqtt.NetCf35.csproj
文件 9740 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgba
文件 6929 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgConnack.cs
文件 23824 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgConnect.cs
文件 1295 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgConnectEventArgs.cs
文件 3851 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgContext.cs
文件 2890 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgDisconnect.cs
文件 2886 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgPingReq.cs
文件 2926 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgPingResp.cs
文件 4240 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgPuback.cs
文件 4224 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgPubcomp.cs
文件 10031 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgPublish.cs
文件 2158 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgPublishedEventArgs.cs
文件 3024 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgPublishEventArgs.cs
文件 4210 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgPubrec.cs
文件 5038 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgPubrel.cs
文件 5379 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgSuback.cs
文件 10033 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgSubscribe.cs
文件 1946 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgSubscribedEventArgs.cs
文件 2328 2016-10-21 01:32 paho.mqtt.m2mqtt-master\Backup\M2Mqtt\Messages\MqttMsgSubscribeEventArgs.cs
............此处省略175个文件信息
- 上一篇:遥感图像处理与应用完整版PDF
- 下一篇:sipp使用案例及说明
相关资源
- mqtt源码及文档
- NPOI v2.2.1
- 基于web的健身中心管理系统
- MQTT 客户端调试工具V1.1
- net宿舍管理信息系统最终版完整源码
- air202 mqtt 测试程序
- Unity 精伦电子阅读器 二次开发 亲测
- 叫号语音平台源码
- Apress Visual C Sharp 2010 Recipes A Problem S
- 简单的网上鞋店购物系统
- 关于串口PLC联网取数与PLC之间通讯
- AGV小车运动控制
- 基于.net技术的校园新闻发布系统全套
- 自己做的购物网站的毕业设计全套包
- STM32+SIM800C+MQTT连接阿里云物联网平台
- AVPro Live Camera 2.8.0.unitypackage
- BookManage图书管理系统
- 数据集的使用方法和技巧
- 汽车美容会员管理系统
-
Touchsc
ript Unity Package - 通过网页服务器监控设备状态
- IrisSkin4破解版,几十款皮肤,加皮肤
- 设计模式:可复用面向对象软件的基
- mosquitto 1.4.15 windows server服务器!!全
- AGV模拟无人机器人搬运
- Esp8266】百万条消息免费之乐鑫esp826
- 乐鑫 esp8266 源码分析 MQTT 实现过程,
- 基于NONOS_SDK动手做个8266毕设小案例,
- Esp8266进阶之路Windows系统搭建8266的本
- npoi所有的dll
评论
共有 条评论