Results 1 to 2 of 2
  1. #1

    Question Subscribing tables in different threads

    Hi there!

    Could you please help me with the following question: we're using LS .NET-client, should we call the SubscribeTable / UnsubscribeTable methods in the same thread where the connection were opened (and the OnSessionStarted event was fired). Is it possible to call SubscribeTable / UnsubscribeTable in any other thread?

    Look forward to your reply.

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi PowerUser,

    I can confirm that your client application can call SubscribeTable and/or UnsubscribeTable in any other thread different from the one that opened the connection.

    Obviously you should take care of some basic concurrency issues, such as call subscriptions only after ensuring that the connection is established and call UnsubscribeTable for an Item only after the relative SubscribeTable call is terminated.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Replies: 1
    Last Post: January 8th, 2014, 09:41 AM
  2. Subscribing to the Table
    By AidasOzelis in forum Client SDKs
    Replies: 13
    Last Post: June 3rd, 2010, 02:13 PM
  3. More tables in one page scenario
    By cbrogliato in forum Client SDKs
    Replies: 1
    Last Post: October 2nd, 2009, 03:13 PM
  4. having problem while subscribing pairs
    By rekhender in forum Adapter SDKs
    Replies: 1
    Last Post: October 31st, 2008, 10:58 AM
  5. Replies: 3
    Last Post: March 23rd, 2007, 10:42 AM

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 04:54 PM.