Subscribing and publishing to MQTT topics.
订阅并发布到MQTT主题。
As a protocol, MQTT has no throttling features.
作为协议,MQTT没有节流功能。
Applications publish through an MQTT client object.
应用程序通过MQTT客户对象发布消息。
A simple example of an MQTT application is shown in listing 3.
清单3给出了一个简单的MQTT应用程序示例。
After MQTT is successfully connected, messages may be published.
MQTT成功连接之后,就可以发布消息了。
This article explained how to create a fully functional MQTT publisher.
本文介绍了如何创建功能全面的MQTT发布程序。
Currently, the MQTT client is quietly discarding all messages it receives.
当前,MQTT客户机私下放弃了它所接收的所有消息。
This article has explained how to create a fully functional MQTT subscription client.
本文介绍了如何创建能完全正常运行的MQTT订阅客户机。
MQTT messages also do not have the concept of user-defined header properties as JMS does.
MQTT消息也没有JMS的那些用户自定义的报头属性的概念。
The following code example, extended from listing 2, is a fully functional MQTT subscriber.
以下代码示例从清单2扩展而来,是一个完全正常运行的MQTT订阅服务器。
MQTT was developed to extend the reach of WebSphere MQ messaging to these remote locations.
而MQTT的开发将WebSphereMQ消息传递的应用范围延伸到这些远程位置。
The code example in listing 3, extended from listing 2, is a fully functional MQTT publisher.
清单3中的示例代码由清单2扩展而来,是一个功能全面的MQTT发布程序。
After properties configuration, an MQTT client instance is obtained from the MQTT client factory.
属性配置之后,MQTT客户实例会从MQTT客户机工厂获得。
The IBM MQTT protocol is used in many diverse environments to connect a variety of sensor systems.
在许多不同的环境中,IBMMQTT协议被用来连接各种传感器系统。
The MQTT library available in the resources section is required to compile this article's example.
不过要求在参考资料部分获得MQTT库来编译本文的示例。
Subscriptions are handled by the MQTT object which passes the appropriate information to its broker.
订阅是由MQTT对象处理的,它将正确的信息传递到其代理中。
To process messages and events a callback handler must be created and registered with the MQTT client.
要处理消息和事件,必须创建一个回调处理程序,并且必须将其注册到MQTT客户机。
The MQTT library available with the Lotus Expeditor micro broker is required to compile this article's example.
要完成本示例的编译,LotusExpeditormicrobroker 附带的MQTT库必须可用。
MQTT is a TCP/IP-based publish/subscribe messaging protocol, designed for communication over low-overhead networks.
MQTT是基于 TCP/IP 的发布/订阅消息传递协议,针对低负荷网络的通信而设计。
This article extends the concepts of the previous article and goes on to explain how to publish messages using MQTT.
本文扩展了上述文章中所触及的概念并继续介绍了如何使用 MQTT发布消息。
In the first scenario, a person with an MQTT client application on his or her phone is meeting someone at the airport.
在第一个场景中,假设此人的电话上安装了 MQTT客户应用程序,他在机场等待接机。
The MqttAdvancedCallback interface is implemented by the class and registered with the previously created MQTT object.
MqttAdvanced Callback接口由此类实现,并由之前创建的MQTT对象注册。
It USES the MQ Telemetry Transport (MQTT) protocol to enable you to monitor enterprise sensors using IBM MQ technology.
它使用MQ遥测传输(MQTT)协议支持您使用IBM MQ技术来监测企业传感器。
To receive notifications, an implementation of the advanced callback interface must be registered with the MQTT client.
要接收通知,高级回调接口的实现必须要用MQTT客户端注册。
To receive acknowledgments of publications, a callback handler must be created and registered with the MQTT client object.
要收到发布的确认,必须创建回调处理程序,此处理程序还必须用MQTT客户机对象注册。
By the end of this article, you are equipped with the knowledge required to create a simple MQTT publisher for your business.
学习完本文后,您应该具备了按自己的业务需要创建简单的MQTT发布程序所需的知识。
When you create your MQTT application, you must carefully plan the topic space to be logical and to enable flexible subscriptions.
在创建MQTT应用程序时,必须认真将主题空间设计得符合逻辑,并且支持灵活订阅。
The aspects covered by this article are also directly applicable to WebSphere Message Broker because both support the MQTT protocol.
本文所涵盖的方方面面都可以直接应用到WebSphereMessageBroker,因为二者都支持MQTT协议。
The MQTT client supports the three qualities of service defined by the MQTT protocol specification for sending messages to the broker
MQTT客户机支持 MQTT协议规范为向代理发送消息而定义的三种服务质量
One of IBM's many messaging middleware technologies is MQ Telemetry Transport (MQTT), a protocol supported by the Lotus Expeditor micro broker.
MQTelemetryTransport (MQTT)是ibm众多的消息传递中间件技术之一,是受LotusExpeditormicro broker支持的一种协议。
应用推荐