[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster] xmlBlaster C++ client library with native SOCKET plugin available
our C++ client library has now a protocol plugin
which uses our native xmlBlaster SOCKET protocol
to talk to the Java xmlBlaster server, see
The SOCKET protocol is described here:
The C++ plugin wraps the C-client SOCKET implementation
which is described in detail here:
The C++ plugin code is available with cvs.
o You can compile the C++ client library to contain
the SOCKET and the CORBA plugin simultaneously
or only one of them.
o The SOCKET protocol tunnels callbacks through the same
TCP/IP socket which eliminates some firewall problems.
The plugin has the limitations as described in the above
o Invoking xmlBlaster from within the callback thread (in update() function)
will deadlock, a thread pool implementation will be added
to resolve this issue.
o publishOneway() and publishArr() are not yet implemented
(They are useful for higher performance only)
o The C and the C++ client API has minor changes,
please read the xmlBlaster/CHANGES file on how to adapt
your existing C/C++ clients.
COMPILE example (SOCKET only):
Edit build.properties to only contain these settings:
corba.product = NONE
plus the xerces XML settings
for a list of command line arguments
If you have compiled for example the CORBA and SOCKET plugin
you can switch the protocol used on the fly:
HelloWorld2 -protocol IOR
HelloWorld2 -protocol SOCKET
PS: The plugin is currently tested with g++ 2.x, g++ 3.x and icc 7.x,