Hello,
I am using milo 1.0.3 and would like to know the best course of action after a network failure. The sequence of events I observed for the network drop are as follows:
-
SessionActivityListener callback onSessionInactive()
-
SessionActivityListener callback onSessionActive()
-
SubscriptionListener callback onStatusChanged() with status=StatusCodes.Bad_Timeout
At this point I attempted to re-create the subscription after which I got a onWatchdogTimerElapsed() callback. A couple of questions:
-
Should I first remove all monitoredItems from the original subscription before re-creating it?
-
When I get the
onWatchdogTimerElapsed() call back should I make another attempt at re-creating the subscription?
Your help/advise would be appreciated.
Kind regards
John Burtenshaw
|
This e-mail message is confidential and is intended only for the person(s) named above. If you have received this message in error, please notify the sender immediately and delete/remove it from your computer system. Any reading, distribution, printing or disclosure
of this message is strictly prohibited if you are not the intended recipient of this message. Neither this information block, the typed name of the sender, nor anything else in this message is intended to constitute an electronic signature unless a specific
statement to the contrary is included in this message.
|