Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

message-broker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.mkd

message-broker

This is the asynchronous cHaTTP message broker.

Build process

Build this application using these commands:

cmake CMakeLists.txt
make [-jx] # with x build processes in parallel

Dependencies&Requirements

System requirements

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.

Libsocket

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/.

Boost unit testing framework

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.

Documentation

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.