Avatar

Please consider registering
guest

sp_LogInOut Log In sp_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 RSS sp_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: 827
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: 827
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: 78

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 89

pramanj: 86

ibrahim: 68

kapsl: 57

gjevremovic: 49

TimK: 41

Fransua33: 39

fred: 36

Rainer Versteeg: 32

peterrob45: 25

Member Stats:

Guest Posters: 0

Members: 857

Moderators: 12

Admins: 1

Forum Stats:

Groups: 3

Forums: 14

Topics: 872

Posts: 3676

Newest Members:

virgie88y3407, bennetcole, timbo, malissa6674, Markus Johansson, jonathancamp, michell9665, bqpkelvin990391, Christopher, HuMa

Moderators: Jouni Aro: 827, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 382, Heikki Tahvanainen: 402, Jukka Asikainen: 1, Teppo Uimonen: 15, Markus Johansson: 1

Administrators: admin: 0