-
License limitations
Hi i would like some information about the limitations
i build an application using Java Client API and i get the
exception
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 !!??
Thanks
-
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.
hth
Marco