Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
When will then onConditionRefresh be fired
July 24, 2019
11:02, EEST
Avatar
HuMa
New Member
Members
Forum Posts: 1
Member Since:
July 24, 2019
sp_UserOfflineSmall Offline

Hi.
I’m programming an OPC UA Server with your SDK, and have a problem with the events. When the Client executes the “ConditionRefresh” Method, the server provides the requested Data ( RefreshStartEvent / RefreshEndEvent) , but the “onConditionRefresh” in “MyEventManagerListener” is not fired.
The “onAcknowledge” and “onComment” works well.
I use the SampleConsoleServer (Version 4.0.2-808) as Template.
Is there something special to do, to get the “onConditionRefresh” ?
Or is there an other possibility for the server to get informed, when a Client calls the “ConditionRefresh” method.

July 24, 2019
13:12, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1029
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Thanks for the report. Sounds like this could be a regression issue with the new release. We will check it and get back to it.

It is probably not possible to overcome it easily on the application level, but if we manage to fix it, we can provide you a new beta update to verify and get forward in your application. Please contact uajava-support by email about the issue, so we can provide the possible fix to you as soon as possible.

July 25, 2019
13:19, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1029
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

OK, we figured the problem – or details of the feature. “onConditionRefresh()” is only called for the EventManagerListener of NodeManagerRoot – not for all NodeManagers. So you will have to set a separate listener with

server.getNodeManagerRoot().getEventManager().setListener(…)

Not very convenient and should be considered that all listeners in all NodeManagers would be triggered.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 16
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 733
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6516
Newest Members:
ptdenriqueta, basilpullman, Richardmip, mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517, thorstenbouldin
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1045, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1