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: spec_16.txt
+4
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
The Collective Code Construction Contract (C4) is an evolution of the github.com [http://help.github.com/send-pull-requests/ Fork + Pull Model], aimed at providing an optimal collaboration model for free software projects. C4 is derived from the ZeroMQ contribution policy of early 2012.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119[((bibcite rfc2119))].
Copy file name to clipboardexpand all lines: spec_17.txt
+5-21
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,9 @@
1
1
The ZeroMQ Device Configuration File (ZDCF) specifies a standard language for configuring 0MQ devices. It provides information to configure a 0MQ context, and a set of 0MQ sockets. This specification aims to make it easier to build, share, and reuse 0MQ devices and build systems for device administration.
@@ -56,7 +55,7 @@ Here is a typical example of a ZDCF file expressed in JSON:
56
55
57
56
[[code]]
58
57
{
59
-
"version": 1.0001,
58
+
"version": 1.0,
60
59
"apps": {
61
60
"listener": {
62
61
"context": {
@@ -89,7 +88,7 @@ Here is a typical example of a ZDCF file expressed in JSON:
89
88
Here is the same property tree expressed in ZPL[((bibcite zpl))]:
90
89
91
90
[[code]]
92
-
version = 1.0001
91
+
version = 1.0
93
92
apps
94
93
listener
95
94
context
@@ -113,7 +112,7 @@ And in simple XML:
113
112
114
113
[[code]]
115
114
<zdcf>
116
-
<version>0.1001</version>
115
+
<version>1.0</version>
117
116
<apps>
118
117
<context iothreads = "1" verbose = "1" />
119
118
<main type = "zmq_queue">
@@ -235,21 +234,6 @@ A software that consumes ZDCF content must adhere to the following rules:
235
234
236
235
In other words, you are free to implement backwards-compatibility with older versions of the specification, but please don't silently try to accept content that was written against a specification that you did not implement. Your users will thank you for it. If at the time of implementation, the specification version that you had access to is 5.3, then you may accept content written against 5.4 assuming it's a specification change that is backwards compatible. ZDCF 6.0, however, you should reject until you've updated your implementation to handle it.
237
236
238
-
++ Specification Change History
239
-
240
-
This section has a list of all significant changes in the ZDCF specification. For details on what changed, you will have to look at the revision history at [http://rfc.zeromq.org].
241
-
242
-
+++ 0.1
243
-
244
-
ZDCF 0.1 is the first version that introduced versioning. Its only change is the introduction of versioning.
245
-
246
-
+++ 1.0
247
-
248
-
* ZDCF 1.0 adds the notion of "apps" as a top-level, above-context dictionary.
249
-
* It also moves devices and sockets out of their respective parent dictionaries (top level dictionary and the device dictionary respectively) into "devices" and "sockets" dictionaries to avoid future name collisions.
250
-
* Renames "xrep" and "xreq" socket types to "router" and "dealer".
Copy file name to clipboardexpand all lines: spec_22.txt
+4
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
The Collective Code Construction Contract (C4) is an evolution of the github.com [http://help.github.com/send-pull-requests/ Fork + Pull Model], aimed at providing an optimal collaboration model for free software projects. This is revision 1 of the C4 specification.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119[((bibcite rfc2119))].
Copy file name to clipboardexpand all lines: spec_23.txt
+6-6
Original file line number
Diff line number
Diff line change
@@ -228,13 +228,13 @@ The value SHALL be 0 to 2^31-1 octets of opaque binary data. Zero-sized values a
228
228
229
229
The security mechanism SHALL provide a way for peers to exchange metadata in the form of a key-value dictionary. The precise encoding of the metadata depends on the mechanism.
230
230
231
-
All implementations SHALL provide at least these metadata properties:
231
+
These metadata properties are defined:
232
232
233
-
* "Socket-Type", which specifies the sender's socket type. See the section "The Socket Type Property" below.
233
+
* "Socket-Type", which specifies the sender's socket type. See the section "The Socket Type Property" below. The sender SHOULD specify the Socket-Type.
234
234
235
-
* "Identity", which specifies the sender's socket identity. See the section "The Identity Property" below.
235
+
* "Identity", which specifies the sender's socket identity. See the section "The Identity Property" below. The sender MAY specify an Identity.
236
236
237
-
* "Resource", which specifies the a resource to connect to. See the section "The Resource Property" below.
237
+
* "Resource", which specifies the a resource to connect to. See the section "The Resource Property" below. The sender MAY specify a Resource.
238
238
239
239
The implementation MAY provide other metadata properties such as implementation name, platform name, and so on. For interoperability, metadata names and semantics MAY be defined as RFCs.
240
240
@@ -311,9 +311,9 @@ From ZMTP v v2.0[((bibcite zmtp20))] onwards, the protocol contains the version
311
311
312
312
* Wait for the other peer to send its greeting.
313
313
314
-
* If this has the version number 1 or 2, the peer is using ZMTP v2.0, so send the ZMTP v2.0 socket type and identity and continue with ZMTP v2.0.
314
+
* If the peer version number is 1 or 2, the peer is using ZMTP v2.0, so send the ZMTP v2.0 socket type and identity and continue with ZMTP v2.0.
315
315
316
-
* If this has the version number 3, the peer is using ZMTP, so send the rest of the greeting and continue with ZMTP v3.0.
316
+
* If the peer version number is 3 or higher, the peer is using ZMTP v3.0, so send the rest of the greeting and continue with ZMTP v3.0.
0 commit comments