[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster] New subscriber, was: XmlBlaster Generated Email
Doh! When I subscribed to the XmlBlaster ML, I didn't expect to
receive messages in XML ;)
Same with me :-)
Let me present myself. I am a French CS student/Free software advocate
wo found a summer internship in a Chinese university's industrial
informatics lab.
I am to build a demo of a framework that would enable grand unified
monitoring stations to centralize the monitoring of multiple real-time
industrial control system, each having its own monitor tool
already. The monitor tools were of course not developped with
interoperability in mind.
So I'm trying to get something packed together on top of
XmlBlaster. I'm somewhat troubled by the apparent lack of
documentation, or did I miss something ?
Well, xmlBlaster is certainly a cool tool for the
problem you describe.
If you look at
xmlBlaster/demo/javaclients/HelloWorld3.java (and HelloWorld4.java
which is smarter coded)
this is all you need to know, sending is done with publish()
async receiving is done with update().
You should use the newest code from cvs, the distributed 0.79e
is outdated already (we need to make a new release soon -> 0.79f).
For example, if I refer to the Java demos, I can't find the proper
function to call when I want to start waiting for asynchronous
messages.
You call subscribe() and then are waiting for messages
to hop in to your supplied update() implementation.
> The chat client uses a GUI, and calls nothing at all but its
show() method. Is that some Java magic?
I am willing to contribute some doc/demo once I feel confident enough
about my knowledge. That may take some time, though.
You are very welcome to contribute the first ever turorial
for xmlBlaster!
enjoy,
Marcel
--
Marcel Ruff
mailto:ruff at swand.lake.de
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org