we are very new to LS (2 hours), but getting up to speed quickly. experienced java programmer and have the HelloWorld tutorial up and running. configured to run under eclipse, too.

now to work..

we have a c++ application that supports multiple clients. works fine. now we want it to issue messages: info, warning, error. these messages should be sent to multiple subscribers at a web browser.

// server side "java"
ourLSAdapter.receiveServerMessage( String type, String msg );

this seems like a plum job for LS, no?

so, we need to connect multiple clients to the message server, and these clients must be able to indicate that they are interested in all messages, info only, warning only, error only, warning or better, etc.

// client side "javascript"
var lsListener = new Something( "OurLSAdapter" );
lsListener.subscribe( "WARNING", function( msg ) { .... } );

again, seems ideal for LS.

how? i am grateful for the javadocs on the adapter api, and the javadoc-like docs on the javascript client api. however, LS is short on examples of how LS may be used in different situations. or tutorials.

would be wonderful to have java source code for all the demo adapters..

i feel like this is a fairly simple problem to solve, and would be appreciative of even a nudge in the right direction.