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
    Join Date
    Feb 2012
    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.




Similar Threads

  1. Replies: 1
    Last Post: January 8th, 2014, 08:41 AM
  2. Subscribing to the Table
    By AidasOzelis in forum Client SDKs
    Replies: 13
    Last Post: June 3rd, 2010, 01:13 PM
  3. More tables in one page scenario
    By cbrogliato in forum Client SDKs
    Replies: 1
    Last Post: October 2nd, 2009, 02:13 PM
  4. having problem while subscribing pairs
    By rekhender in forum Adapter SDKs
    Replies: 1
    Last Post: October 31st, 2008, 09:58 AM
  5. Replies: 3
    Last Post: March 23rd, 2007, 09:42 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
All times are GMT +1. The time now is 03:02 PM.