diff options
Diffstat (limited to 'protocol.html')
| -rw-r--r-- | protocol.html | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/protocol.html b/protocol.html index 43282f6..274f8d1 100644 --- a/protocol.html +++ b/protocol.html | |||
| @@ -60,7 +60,7 @@ | |||
| 60 | 60 | ||
| 61 | 61 | ||
| 62 | <div class="version"> | 62 | <div class="version"> |
| 63 | 0 | 63 | 0.2.1 |
| 64 | </div> | 64 | </div> |
| 65 | 65 | ||
| 66 | 66 | ||
| @@ -82,6 +82,7 @@ | |||
| 82 | 82 | ||
| 83 | 83 | ||
| 84 | <ul class="current"> | 84 | <ul class="current"> |
| 85 | <li class="toctree-l1"><a class="reference internal" href="using.html">Using EventMQ</a></li> | ||
| 85 | <li class="toctree-l1"><a class="reference internal" href="api.html">API Documentation</a></li> | 86 | <li class="toctree-l1"><a class="reference internal" href="api.html">API Documentation</a></li> |
| 86 | <li class="toctree-l1 current"><a class="reference internal" href="contributing.html">Contributing to EventMQ</a><ul class="current"> | 87 | <li class="toctree-l1 current"><a class="reference internal" href="contributing.html">Contributing to EventMQ</a><ul class="current"> |
| 87 | <li class="toctree-l2 current"><a class="current reference internal" href="">EventMQ Protocol Specification</a><ul> | 88 | <li class="toctree-l2 current"><a class="current reference internal" href="">EventMQ Protocol Specification</a><ul> |
| @@ -236,9 +237,9 @@ | |||
| 236 | <p>A <strong>REQUEST</strong> command consists of a 7-frame multipart message, formatted as follows.</p> | 237 | <p>A <strong>REQUEST</strong> command consists of a 7-frame multipart message, formatted as follows.</p> |
| 237 | <table border="1" class="docutils"> | 238 | <table border="1" class="docutils"> |
| 238 | <colgroup> | 239 | <colgroup> |
| 239 | <col width="10%" /> | 240 | <col width="8%" /> |
| 240 | <col width="22%" /> | 241 | <col width="20%" /> |
| 241 | <col width="68%" /> | 242 | <col width="72%" /> |
| 242 | </colgroup> | 243 | </colgroup> |
| 243 | <thead valign="bottom"> | 244 | <thead valign="bottom"> |
| 244 | <tr class="row-odd"><th class="head">FRAME</th> | 245 | <tr class="row-odd"><th class="head">FRAME</th> |
| @@ -265,7 +266,7 @@ | |||
| 265 | </tr> | 266 | </tr> |
| 266 | <tr class="row-even"><td>4</td> | 267 | <tr class="row-even"><td>4</td> |
| 267 | <td>_QUEUE_NAME_</td> | 268 | <td>_QUEUE_NAME_</td> |
| 268 | <td>the name of the queue the worker belongs to</td> | 269 | <td>the name of the queue the request should be sent to</td> |
| 269 | </tr> | 270 | </tr> |
| 270 | <tr class="row-odd"><td>5</td> | 271 | <tr class="row-odd"><td>5</td> |
| 271 | <td>_HEADERS_</td> | 272 | <td>_HEADERS_</td> |
| @@ -280,9 +281,9 @@ | |||
| 280 | <p>A <strong>PUBLISH</strong> command consists of a 7-frame multipart messag, formatted as follows.</p> | 281 | <p>A <strong>PUBLISH</strong> command consists of a 7-frame multipart messag, formatted as follows.</p> |
| 281 | <table border="1" class="docutils"> | 282 | <table border="1" class="docutils"> |
| 282 | <colgroup> | 283 | <colgroup> |
| 283 | <col width="10%" /> | 284 | <col width="7%" /> |
| 284 | <col width="22%" /> | 285 | <col width="17%" /> |
| 285 | <col width="68%" /> | 286 | <col width="75%" /> |
| 286 | </colgroup> | 287 | </colgroup> |
| 287 | <thead valign="bottom"> | 288 | <thead valign="bottom"> |
| 288 | <tr class="row-odd"><th class="head">FRAME</th> | 289 | <tr class="row-odd"><th class="head">FRAME</th> |
| @@ -309,7 +310,7 @@ | |||
| 309 | </tr> | 310 | </tr> |
| 310 | <tr class="row-even"><td>4</td> | 311 | <tr class="row-even"><td>4</td> |
| 311 | <td>_TOPIC_NAME_</td> | 312 | <td>_TOPIC_NAME_</td> |
| 312 | <td>the name of the queue the worker belongs to</td> | 313 | <td>the name of the topic this message should be published across</td> |
| 313 | </tr> | 314 | </tr> |
| 314 | <tr class="row-odd"><td>5</td> | 315 | <tr class="row-odd"><td>5</td> |
| 315 | <td>_HEADERS_</td> | 316 | <td>_HEADERS_</td> |
| @@ -352,7 +353,7 @@ | |||
| 352 | <td>A unique id for the msg</td> | 353 | <td>A unique id for the msg</td> |
| 353 | </tr> | 354 | </tr> |
| 354 | <tr class="row-even"><td>4</td> | 355 | <tr class="row-even"><td>4</td> |
| 355 | <td>_TOPIC_NAME_</td> | 356 | <td>_QUEUE_NAME_</td> |
| 356 | <td>name of queue that the job should run in</td> | 357 | <td>name of queue that the job should run in</td> |
| 357 | </tr> | 358 | </tr> |
| 358 | <tr class="row-odd"><td>5</td> | 359 | <tr class="row-odd"><td>5</td> |
| @@ -396,7 +397,7 @@ | |||
| 396 | <td>A unique id for the msg</td> | 397 | <td>A unique id for the msg</td> |
| 397 | </tr> | 398 | </tr> |
| 398 | <tr class="row-even"><td>4</td> | 399 | <tr class="row-even"><td>4</td> |
| 399 | <td>_TOPIC_NAME_</td> | 400 | <td>_QUEUE_NAME_</td> |
| 400 | <td>ignored for this command, broadcasted to all queues</td> | 401 | <td>ignored for this command, broadcasted to all queues</td> |
| 401 | </tr> | 402 | </tr> |
| 402 | <tr class="row-odd"><td>5</td> | 403 | <tr class="row-odd"><td>5</td> |
| @@ -415,9 +416,9 @@ | |||
| 415 | <p>An <strong>INFORM</strong> command consists of a 6-frame multipart message, formatted as follows.</p> | 416 | <p>An <strong>INFORM</strong> command consists of a 6-frame multipart message, formatted as follows.</p> |
| 416 | <table border="1" class="docutils"> | 417 | <table border="1" class="docutils"> |
| 417 | <colgroup> | 418 | <colgroup> |
| 418 | <col width="9%" /> | 419 | <col width="13%" /> |
| 419 | <col width="20%" /> | 420 | <col width="29%" /> |
| 420 | <col width="71%" /> | 421 | <col width="58%" /> |
| 421 | </colgroup> | 422 | </colgroup> |
| 422 | <thead valign="bottom"> | 423 | <thead valign="bottom"> |
| 423 | <tr class="row-odd"><th class="head">FRAME</th> | 424 | <tr class="row-odd"><th class="head">FRAME</th> |
| @@ -443,8 +444,8 @@ | |||
| 443 | <td>A unique id for the msg</td> | 444 | <td>A unique id for the msg</td> |
| 444 | </tr> | 445 | </tr> |
| 445 | <tr class="row-even"><td>4</td> | 446 | <tr class="row-even"><td>4</td> |
| 446 | <td>_QUEUE_NAME_</td> | 447 | <td> </td> |
| 447 | <td>csv seperated names of queue the worker belongs to</td> | 448 | <td>Queues. Unused for scheduler</td> |
| 448 | </tr> | 449 | </tr> |
| 449 | <tr class="row-odd"><td>5</td> | 450 | <tr class="row-odd"><td>5</td> |
| 450 | <td>scheduler</td> | 451 | <td>scheduler</td> |
| @@ -458,9 +459,9 @@ | |||
| 458 | <p>An <strong>INFORM</strong> command consists of a 5-frame multipart message, formatted as follows.</p> | 459 | <p>An <strong>INFORM</strong> command consists of a 5-frame multipart message, formatted as follows.</p> |
| 459 | <table border="1" class="docutils"> | 460 | <table border="1" class="docutils"> |
| 460 | <colgroup> | 461 | <colgroup> |
| 461 | <col width="8%" /> | 462 | <col width="5%" /> |
| 462 | <col width="20%" /> | 463 | <col width="13%" /> |
| 463 | <col width="72%" /> | 464 | <col width="82%" /> |
| 464 | </colgroup> | 465 | </colgroup> |
| 465 | <thead valign="bottom"> | 466 | <thead valign="bottom"> |
| 466 | <tr class="row-odd"><th class="head">FRAME</th> | 467 | <tr class="row-odd"><th class="head">FRAME</th> |
| @@ -486,8 +487,8 @@ | |||
| 486 | <td>A unique id for the msg</td> | 487 | <td>A unique id for the msg</td> |
| 487 | </tr> | 488 | </tr> |
| 488 | <tr class="row-even"><td>4</td> | 489 | <tr class="row-even"><td>4</td> |
| 489 | <td>_QUEUE_NAME_</td> | 490 | <td>_QUEUES_</td> |
| 490 | <td>csv seperated names of queue the worker belongs to.</td> | 491 | <td>csv seperated arrays containing an int and a string for weight and name. e.g. [40, ‘email’]</td> |
| 491 | </tr> | 492 | </tr> |
| 492 | <tr class="row-odd"><td>5</td> | 493 | <tr class="row-odd"><td>5</td> |
| 493 | <td>worker</td> | 494 | <td>worker</td> |
| @@ -643,7 +644,6 @@ | |||
| 643 | <li>If the worker detects that the broker disconnected it SHOULD restart the conversation.</li> | 644 | <li>If the worker detects that the broker disconnected it SHOULD restart the conversation.</li> |
| 644 | <li>If the broker detects that a worker has disconnected it should stop sending it a message of any type.</li> | 645 | <li>If the broker detects that a worker has disconnected it should stop sending it a message of any type.</li> |
| 645 | <li>If the scheduler detects that the broker disconnects it SHOULD restart the conversation.</li> | 646 | <li>If the scheduler detects that the broker disconnects it SHOULD restart the conversation.</li> |
| 646 | <li>If the broker detects that a scheduler has disconnected it should ??????????.</li> | ||
| 647 | </ul> | 647 | </ul> |
| 648 | </div></blockquote> | 648 | </div></blockquote> |
| 649 | </div> | 649 | </div> |
| @@ -709,7 +709,7 @@ | |||
| 709 | 709 | ||
| 710 | <div role="contentinfo"> | 710 | <div role="contentinfo"> |
| 711 | <p> | 711 | <p> |
| 712 | © Copyright 2015, eventboard.io. | 712 | © Copyright 2016, eventboard.io. |
| 713 | 713 | ||
| 714 | </p> | 714 | </p> |
| 715 | </div> | 715 | </div> |