-
November 30th, 2010, 09:37 PM
#1
multiple clients - filtered messaging
hello,
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.
Similar Threads
-
By colmfield in forum Client SDKs
Replies: 1
Last Post: October 25th, 2011, 09:34 AM
-
By hungtt in forum Adapter SDKs
Replies: 2
Last Post: December 24th, 2010, 07:51 AM
-
By churrusco in forum General
Replies: 4
Last Post: November 8th, 2010, 02:26 PM
-
By paul.syson@internova.co.u in forum Adapter SDKs
Replies: 6
Last Post: March 24th, 2009, 09:13 AM
-
By eric.s in forum General
Replies: 3
Last Post: November 24th, 2008, 11:13 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 02:52 PM.
Bookmarks