-
August 28th, 2013, 02:54 AM
#1
Subscribe / unsubscribe error recovery
Hi,
If error happens in subscription / unsubscription process due to server/network problem, does LS client auto retry to subscribe/unsubscribe? If not, what is best practice for that?
Thanks,
-
August 29th, 2013, 09:35 AM
#2
as long as a Subscription is passed to a LightstreamerClient through subscribe, and is not removed through unsubscribe, the client will automatically handle network problems and will re-subscribe your items.
You should obviously handle onSubscriptionError events: these can't be automatically solved by the client.
-
August 29th, 2013, 06:09 PM
#3
Thanks Mone,
How about unsubscription process? There is no onUnsubscriptionError event.
-
August 30th, 2013, 10:46 AM
#4
Hi,
the subscriptionError handles server-side errors, not networok errors as those are handled by the library.
an unsubscription can't fail on the server so there is no need for an onUnsubscriptionError.
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 09:18 AM.
Bookmarks