This is the asynchronous cHaTTP message broker.
Build this application using these commands:
cmake CMakeLists.txt
make [-jx] # with x build processes in parallel
The message broker requires its host operating system to provide:
- The
pthread
library. - The
epoll
API. - A C++11-compliant compiler (recent GCC/clang versions).
This (unfortunately) limits the possible platforms to modern Linux systems.
You will need the libsocket
library. Its source code
may be obtained from github. RPM and DEB
packages are available from http://cdn.spheniscida.de/lbo/libsocket/.
This sub-project uses unit testing to avoid implementation errors. For the tests to work, you have to install the Boost test framework and its headers (e.g. libboost-test1.55-dev in Debian).
To build the unit tests (tests/test-main.cpp
), pass the following switch to CMake: -Dunit_test=1
If you don't need the unit tests, the boost unit testing library will not be required. The unit
tests are not built by default.
Build the documentation (if you have graphviz available) using doxygen on the doxyconf
configuration file.
Otherwise, there should be a current version available online here.