OpenDaylight Cookbook
上QQ阅读APP看书,第一时间看更新

How it works...

The IoTDM project provides and implements RPCs, enabling the interaction with a subset of oneM2M resources. An RPC is a remote procedure call intended to be processed in a synchronized way and providing less latency than a REST call. For each RPC, its associated implementation corresponds to a callback that will define the expected behavior. The IoTDM project defines the oneM2M resources as models, thus providing a tree using the MD-SAL architecture provided by OpenDaylight. When a resource is modified, a notifier will issue a oneM2M notification to the subscribers. This process uses a publish-subscribe type of mechanism. Finally, the IoTDM project implements three southbound protocols, the constrained application protocol (CoAP - RFC-7252), the MQTT, and the HTTP protocol, the one used in the recipe.