Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceListener serviceAdded not always called #251

Open
remi0023 opened this issue May 19, 2023 · 0 comments
Open

ServiceListener serviceAdded not always called #251

remi0023 opened this issue May 19, 2023 · 0 comments

Comments

@remi0023
Copy link

Hi,
I have a few processes running, all processes do announce a few services and connect to other services from other processes. To do so I just register a ServiceListener to one or more jmdns instances and wait for services to appear. Most of the time it works flawlessly, but from time to time it happens that one or more services could not be found from one of the processes. Doing some testing with jmdns debug messages enabled I saw that all service details were always received. However for some services the serviceAdded method gets never called instead serviceResolved is called directly.
Now I just wonder if the observer behaviour (serviceResolved called right away without any previous serviceAdded) is intentional?

Regards Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant