This product uses software developed by Spread Concepts LLC for use in the Spread toolkit. For more information about Spread, see http://www.spread.org/.
To use the library add:
#include <sava/libsavaspread.h>or
#include <sava/spread.h>to the top of your C++ source file. The first form will pick up any future additions to the library that fall into a namespace other than sava::spread (e.g., possibly sava::fl_spread). The second form will pick up only the sava::spread namespace. At the moment, there are no additional namespaces, so they are currently equivalent.
The main entry point to using the API is the Mailbox class, which is used to establish a connection with the Spread daemon, join/leave groups, and send/receive messages.
Until the 1.0 release, the API will be in flux and incompatible changes may be introduced between pre-1.0 releases.
Sava C++/Lua/Perl/Python/Ruby Bindings for Spread currently wraps only the SP_ functions from the spread-core library. The flush FL_ functions are not wrapped. Given the similarity of the SP_ and FL_ functions, a future version of the library could use generic programming techniques to wrap both and avoid code duplication. Such a change may break compatibility with earlier versions of the library. If there is user demand to wrap the view synchrony flush API or a patch is submitted, we'll try to do this for a 2.0 release.