Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Dec 2009

    License limitations

    Hi i would like some information about the limitations
    i build an application using Java Client API and i get the
    com.lightstreamer.ls_client.PushUserException: Allowed number of sessions reached

    base what, sessions, counted for lightstreamer !!??
    per ip-host or per LSClient tables contented !!??
    so if one host have 5 tables active is for 5 sessions !!?

    with my application for every connected table i create a new LSClient connection , it is possible to use the same connection for many tables , is there anything like master and slave connections like Javascript client !!??


  2. #2
    Senior Member
    Join Date
    Feb 2013
    Hi metero,

    I presume you are using the DEMO License, and the DEMO License is limited to a maximum of 20 concurrent users.
    This means actually that you may have at most 20 concurrent sessions.
    Each LSClient of the Java SE Client API holds a connection. This is slightly different from the LightstreamerClient in the JavaScript Client API where you may have many LightstreamerClient sharing underneath the same connection.
    The LSClient accepts many subscriptions, so you may use one single LSClient to subscribe to all your tables.
    More precisely, each connection is associated with one session, and each session is associated to a single Adapter Set. So, if you have many Adapters, they should belong to the same Adapter Set.
    For more details you may also look at General Concepts and Java Adapter API Reference, particularly at LSClient.





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 07:25 AM.