-
December 21st, 2010, 12:32 PM
#2
You cannot pause a streaming session asynchronously;
however, by forcing polling mode, you can have multiple connections separated in time which refer to a single session.
Note that you should configure synchronous polling, not asynchoronous (aka long) polling (which is the default); see setIdleTimeout.
In fact, with long polling, as long as no data is coming, the connection is kept open and other outbound requests will have to wait.
By setting a low polling time, the data delays can be kept small.
Consider that when a non-Lightstreamer-related request occupies the single connection slot, the next polling request may be delayed and the session may be kept waiting by the Server for longer than the expected polling timeout;
hence, you should configure the <session_timeout_millis> on the Server in a suitable way.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:22 AM.
Bookmarks