diff options
| author | sideshowdave7 | 2017-01-04 13:09:53 -0700 |
|---|---|---|
| committer | sideshowdave7 | 2017-01-04 13:09:53 -0700 |
| commit | 80773b6bb6d1ab0c90f5122e1685f7a01265cf2c (patch) | |
| tree | e5fc2a2605f067498422e4a8ddec852badcb899c /docs/protocol.rst | |
| parent | bd0936c94081b72553caa753323d37ed4fdb7012 (diff) | |
| download | eventmq-80773b6bb6d1ab0c90f5122e1685f7a01265cf2c.tar.gz eventmq-80773b6bb6d1ab0c90f5122e1685f7a01265cf2c.zip | |
add publish documentation
Diffstat (limited to 'docs/protocol.rst')
| -rw-r--r-- | docs/protocol.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/protocol.rst b/docs/protocol.rst index 015f5fb..66b6829 100644 --- a/docs/protocol.rst +++ b/docs/protocol.rst | |||
| @@ -205,6 +205,22 @@ FRAME Value Description | |||
| 205 | 3 _MSGID_ A unique id for the msg | 205 | 3 _MSGID_ A unique id for the msg |
| 206 | ====== ============== =========== | 206 | ====== ============== =========== |
| 207 | 207 | ||
| 208 | eMQP / Publisher | ||
| 209 | ---------------- | ||
| 210 | A **PUBLISH** frame consists of a 6-frame multipart message, formatted as follows. | ||
| 211 | |||
| 212 | ====== ============== =========== | ||
| 213 | FRAME Value Description | ||
| 214 | ====== ============== =========== | ||
| 215 | 0 _EMPTY_ leave empty | ||
| 216 | 1 eMQP/1.0 Protocol version | ||
| 217 | 2 PUBLISH command | ||
| 218 | 3 _MSGID_ A unique id for the msg | ||
| 219 | 4 TOPIC A topic to publish to | ||
| 220 | 5 MSG Message to be published | ||
| 221 | ====== ============== =========== | ||
| 222 | |||
| 223 | |||
| 208 | Heartbeating | 224 | Heartbeating |
| 209 | ------------ | 225 | ------------ |
| 210 | * HEARTBEAT commands are valid at any time after an INFORM command. | 226 | * HEARTBEAT commands are valid at any time after an INFORM command. |