GitHub user hutcheb added a comment to the discussion: What is the fireDiscoveryEvent() method in GeneratedDriverBase used for?
I think it was initially a way to get the driver to go through the discover process and wait for it to be finished before opening a connection. It was used in the opcua driver, I think, to get a list of endpoints which are then compared with the endpoint given by the plc4x address string. It was initially called awaitSessionDiscoverComplete, but then got split into two different parameters awaitSessionDiscoverComplete and fireDiscoverEvent. Looking at the code awaitSessionDiscoverComplete seems to require fireDiscoverEvent to be set for this functionality to work. GitHub link: https://github.com/apache/plc4x/discussions/1123#discussioncomment-7151918 ---- This is an automatically sent email for dev@plc4x.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@plc4x.apache.org