Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2010

    multiple clients - filtered messaging


    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.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Cesano Maderno, Italy

    the sources of most of our adapters are available in the distribution packages, take a look under the DOCS-SDKs subfolder, each SDK has its own examples; the examples under sdk_adapter_java are the demo we also have deployed on our server.

    We use an approach that is similar to the one you want to implement in our MonitorConsole. The adapter sources of such application are not available as embedded in the server code, btw you can see how the web client is implemented ( under the LS_HOME/pages/demos/MonitorDemo folder)


  3. #3
    Join Date
    Nov 2010

    got it. thanks. i got the chat demo to work with our messaging server.

    thank you tons.



Similar Threads

  1. Monitoring multiple LS clients
    By colmfield in forum Client SDKs
    Replies: 1
    Last Post: October 25th, 2011, 09:34 AM
  2. Replies: 2
    Last Post: December 24th, 2010, 07:51 AM
  3. Guaranteed delivery messaging mode
    By churrusco in forum General
    Replies: 4
    Last Post: November 8th, 2010, 02:26 PM
  4. .Net Messaging system - meta and data adapter linking
    By in forum Adapter SDKs
    Replies: 6
    Last Post: March 24th, 2009, 09:13 AM
  5. Lightstreamer for Instant Messaging
    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
All times are GMT +1. The time now is 04:33 PM.