-
November 16th, 2020, 06:58 AM
#1
Hi, how would this look like using this example - https://github.com/Lightstreamer/Lig...r/src/index.js, assuming we need the same client session to connect to two server hosts for the same subscription at the same time. Is it possible to have an example?
I was reading the documentation, but couldn't find a clear solution. Thanks in advance!
-
November 16th, 2020, 09:27 AM
#2
Each Lightstreamer client session is reserved for a "host/Adapter Set" pair.
So if you need to connect your client application to two different hosts you need also two different client sessions, ie. instantiate two LightstreamerClient objects and connect them to the different hosts.
Regards,
Giuseppe
Similar Threads
-
By sjohn in forum Client SDKs
Replies: 11
Last Post: January 23rd, 2015, 11:22 AM
-
By pluczak in forum Adapter SDKs
Replies: 1
Last Post: April 26th, 2012, 10:50 AM
-
By wwatts in forum Client SDKs
Replies: 4
Last Post: February 16th, 2010, 08:58 AM
-
By sarbao in forum Adapter SDKs
Replies: 1
Last Post: April 20th, 2009, 09:29 AM
-
By Sinead in forum Client SDKs
Replies: 3
Last Post: February 8th, 2007, 09:11 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 11:11 AM.
Bookmarks