Results 1 to 10 of 33

Hybrid View

  1. #1
    Senior Member
    Join Date
    Dec 2019
    Posts
    66
    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

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    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

  1. delay and strange behavior
    By ahmedsmart4tech in forum Adapter SDKs
    Replies: 7
    Last Post: August 19th, 2014, 02:11 PM
  2. Delay in retrieving data
    By New Soft in forum Client SDKs
    Replies: 3
    Last Post: July 7th, 2014, 09:57 AM
  3. Current delay in log file
    By faa666 in forum General
    Replies: 1
    Last Post: February 15th, 2012, 08:54 AM
  4. Unexpected Delay
    By omidqrose in forum General
    Replies: 2
    Last Post: May 23rd, 2011, 12:44 PM
  5. Delay in notifyUser() causes erratic create_session behavior
    By brianjohnson in forum Adapter SDKs
    Replies: 2
    Last Post: April 5th, 2010, 12:02 PM

Tags for this Thread

Bookmarks

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 12:26 AM.