Hi John,
In 1.0 you call `OpcUaSubscription::setSubscriptionListener` to set a `OpcUaSubscription.SubscriptionListener` instance on it.
This listener interface includes a `onTransferFailed` callback in addition to the `onStatusChanged` method you already noticed.
On Aug 15, 2025, at 14:54, Burtenshaw, John via milo-dev <milo-dev@xxxxxxxxxxx> wrote:
Hello,
I've been using milo for several years now and decided to upgrade from 0.6 to version 1.0. I see there have been quite a few (great) changes. Previously we could register onSubscriptionTransferFailed() for a subscription failure for example. Just wondering how this is handled with the OpcUaSubscription class? Do we just need to override the onStatusChanged method when we call setSubscriptionListener()?
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. _______________________________________________milo-dev mailing listmilo-dev@xxxxxxxxxxxTo unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/milo-dev
|