Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010

    How to change the streaming/smart polling/polling mode


    From the API doc of Java client, there is an "isPolling" flag in the "ConnectionInfo" class that can turn from streaming mode to "long polling" mode. Is there any method that can force change to normal polling mode with polling interval setting?

  2. #2
    Join Date
    Jul 2006
    The characteristics of a polling session are determined by two more properties of the ConnectionInfo class: pollingMillis and pollingIdleMillis.
    The former is the wait to be performed by the client after each poll;
    the latter is the wait that the Server can perform before sending its response if no update is ready.

    By setting pollingIdleMillis to 0, the "long polling" behavior will be disabled and normal synchronous polling will result.
    The API doc says that isPolling turns from streaming mode to long polling mode just because the default (and suggested) setting for pollingIdleMillis is not 0 but rather 30000 ms.



Similar Threads

  1. Client only in polling mode
    By EWANG in forum Client SDKs
    Replies: 12
    Last Post: August 19th, 2010, 08:52 AM
  2. Lightstreamer going into polling mode randomly
    By GoatHunter in forum Client SDKs
    Replies: 3
    Last Post: August 31st, 2009, 08:57 AM
  3. Degrade from STREAMING to POLLING
    By riwang in forum Client SDKs
    Replies: 9
    Last Post: March 31st, 2009, 01:16 PM
  4. Replies: 3
    Last Post: February 1st, 2008, 08:49 AM
  5. Smart polling mode benefits...
    By ddhanis in forum General
    Replies: 1
    Last Post: December 14th, 2007, 04:39 PM


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 08:43 AM.