-
October 9th, 2023, 01:33 PM
#1
Thanks giuseppe,
I will try to send you the log by tomorrow morning.
Now, how can I detect if this user already subscribed in this group from adapter side?
Regards
-
October 9th, 2023, 02:21 PM
#2
By leveraging the notifyNewTables and notifyTablesClose methods of the Metadata you can maintain an updated map of users and their respective active subscriptions.
By adding the list of requested groups for the involved user in the notifyNewTables method and subtracting the groups from the same user as the notifyTablesClose is called, you can use this map to make decisions in the notifyNewTables method to reject any duplicates (by throwing a CreditsException).
- https://sdk.lightstreamer.com/ls-ada...bleInfo%5B%5D)
- https://sdk.lightstreamer.com/ls-ada...bleInfo%5B%5D)
Regards,
Giuseppe
Similar Threads
-
By ahmedsmart4tech in forum Adapter SDKs
Replies: 7
Last Post: August 19th, 2014, 02:11 PM
-
By New Soft in forum Client SDKs
Replies: 3
Last Post: July 7th, 2014, 09:57 AM
-
By faa666 in forum General
Replies: 1
Last Post: February 15th, 2012, 08:54 AM
-
By omidqrose in forum General
Replies: 2
Last Post: May 23rd, 2011, 12:44 PM
-
By brianjohnson in forum Adapter SDKs
Replies: 2
Last Post: April 5th, 2010, 12:02 PM
Tags for this Thread
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 01:16 PM.
Bookmarks