Results 1 to 2 of 2

Hybrid View

  1. #1

    Lightstreamer in background? [WinRT]

    Hi!

    Is there a recommended approach or any suggestions on the best way to incorporate Lightstreamer into a background task? The tasks are triggered in a variety of ways, the most typical of which being time (+/- 15 minute variance) but I'm not sure what the best approach for Lightstreamer would be. The primary goal is to update a Livetile and create toasts as new pertinent updates are sent out but the standard approach seems hard to adapt to a background thread which will continue to function when the app is shut down.

    It seems like it might be possible to adapt polling to work, but the long interval and thread shutdown in between periods might cause complications.

    Thanks!

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    If I understood your requirement what you can try to do is to ask for a deferral ( http://msdn.microsoft.com/en-us/libr...ce.getdeferral ), then connect to Lightstreamer in the asynchronous call and never return it.
    Just pay attention to not keep too many deferrals pending.

    Give it a try and let us know how it goes.

 

 

Similar Threads

  1. Connection Issues (SSL related?) [WinRT]
    By EricS in forum Client SDKs
    Replies: 7
    Last Post: January 24th, 2014, 10:25 AM
  2. Replies: 3
    Last Post: May 20th, 2013, 10:51 AM
  3. Lightstreamer WinRT Client Lib is Available
    By Alessandro in forum Client SDKs
    Replies: 0
    Last Post: December 20th, 2012, 12:04 PM
  4. Lightstreamer running in background
    By carlost81 in forum Client SDKs
    Replies: 1
    Last Post: July 24th, 2012, 12:32 PM
  5. Replies: 1
    Last Post: November 2nd, 2009, 05:55 PM

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 06:14 PM.