The command line interface of the C++ Middleware Writer (C++MW) is easy to use in a development environment. The web interface of the C++MW is mostly for educational/experimental purposes. This page has the code for the C++MW Ambassador (C++MWA) and a command line client that works with the C++MWA. A few things to note about the command line interface:
The code uses flex_string which is part of the Loki library. It also uses the bzip2 api to compress/uncompress data.
The web interface of the C++MW only supports two header files. This interface supports as many header files as are needed.
cmwa.cfg refers to an Account-Number. Accounts help improve the performance of user requests, by minimizing the amount of data that has to be sent to the server. This form doles out account numbers. After setting up an account, update your cmwa.cfg file accordingly.
The files needed to build on Linux and Windows are here -- direct.tar.bz2.
The archive contains the following files:
Readme
cmwa.cfg input file read by the C++MW Ambassador.
cmwa.hh
direct.cfg input file read by direct.
direct.mdl middle file that direct.cfg refers to.
lil_string.hh
msg_shepherd.hh
auto-generated output based on direct.cfg and direct.mdl.
process_config.hh
File.hh
Formatting.cc
Formatting.hh
MarshallingFunctions.hh
ReceiveBuffer.hh
ReceiveCompressedBuffer.hh
SendBuffer.hh
SendCompressedBuffer.hh
Linux specific files:
cmwa.cc C++MW Ambassador.
direct.cc command line client of C++MWA.
makefile
Windows specific files:
wincmwa.cc Windows C++MW Ambassador.
windirect.cc Windows command line client of C++MWA.
makefile.mcr