You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: draft-ietf-core-coap-pubsub.md
+4-12
Original file line number
Diff line number
Diff line change
@@ -73,10 +73,7 @@ This document describes a publish-subscribe architecture for the Constrained App
73
73
74
74
# Introduction {#introduction}
75
75
76
-
The Constrained Application Protocol (CoAP) {{RFC7252}} supports
77
-
machine-to-machine communication across networks of constrained
78
-
devices and constrained networks. CoAP uses a request/response model where clients make requests to servers in order to request actions on resources. Depending on the situation the same device may act either as a server, a client, or both.
79
-
76
+
The Constrained Application Protocol (CoAP) {{RFC7252}} supports machine-to-machine communication across networks of constrained devices and constrained networks. CoAP uses a request/response model where clients make requests to servers in order to request actions on resources. Depending on the situation the same device may act either as a server, a client, or both.
80
77
One important class of constrained devices includes devices that are intended to run for years from a small battery, or by scavenging energy from their environment. These devices have limited up-time because they spend most of their time in a sleeping state with no network connectivity. Another important class of nodes are devices with limited reachability due to middle-boxes like Network Address Translators (NATs) and firewalls.
81
78
82
79
For these nodes, the client/server-oriented architecture of REST can be challenging when interactions are not initiated by the devices themselves. A publish/subscribe-oriented architecture where nodes exchange data via topics through a broker entity might fit these nodes better.
@@ -162,8 +159,7 @@ Topic-data interactions are publish, subscribe, unsubscribe, read, and delete. T
162
159
163
160
The Broker exports one or more topic collection resources, with resource type "core.ps.coll" defined in {{iana}} of this document. The interfaces for the topic collection resource is defined in {{topic-collection-interactions}}.
164
161
165
-
A topic collection resource can have topic resources as its child resources, with resource type "core.ps.conf".
166
-
Other child resource types are currently not defined for a topic collection resource.
162
+
A topic collection resource can have topic resources as its child resources, with resource type "core.ps.conf". Other child resource types are currently not defined for a topic collection resource.
167
163
168
164
# PubSub Topics {#topics}
169
165
@@ -378,12 +374,8 @@ Example:
378
374
379
375
### Getting topics by Properties {#topic-get-properties}
380
376
381
-
A client can filter a collection of topics by submitting the
382
-
representation of a topic filter (see {{topic-fetch-resource}}) in a FETCH request to the topic collection URI.
383
-
384
-
On success, the broker returns a 2.05 (Content) response with a
385
-
representation of a list of topics in the collection (see
386
-
{{topic-discovery}}) that match the filter in CoRE link format {{RFC6690}}.
377
+
A client can filter a collection of topics by submitting the representation of a topic filter (see {{topic-fetch-resource}}) in a FETCH request to the topic collection URI.
378
+
On success, the broker returns a 2.05 (Content) response with a representation of a list of topics in the collection (see {{topic-discovery}}) that match the filter in CoRE link format {{RFC6690}}.
387
379
388
380
Upon success, the broker responds with a 2.05 (Content), providing a list of links to topic resources associated with this topic collection that match the request's filter criteria (refer to {{topic-discovery}}). A positive match happens only when each request parameter is present with the indicated value in the topic resource representation.
0 commit comments