Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 638 Bytes

README.md

File metadata and controls

35 lines (30 loc) · 638 Bytes

Message exchange service

Build status

Build

$ mkdir build
$ cd build
$ cmake ..
$ make

Default server port is 31337.

Protocol

0           4                body_size
+-----------+--------------------+
| body_size |        body        |
+-----------+--------------------+

Body is json message with one of the methods:

  • Connect to queue:
{"method":"CONNECT","queue":"queue_name"}
  • Write data to queue:
{"method":"PUBLISH","data":"some data to publish"}
  • Read from queue:
{"method":"CONSUME"}