Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSNetServiceBrowserMBS class.
NSNetServiceBrowserMBS.DidFindDomain(domainName as String, moreComing as Boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
domainName: Name of the domain found by netServiceBrowser.
moreComing: True when netServiceBrowser is waiting for additional domains. false when there are no additional domains.
You use this event to compile a list of available domains. It should wait until moreComing is false to do a bulk update of user interface elements.
NSNetServiceBrowserMBS.DidFindService(service as NSNetServiceMBS, moreComing as Boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Service: Network service found by netServiceBrowser.
moreComing: True when netServiceBrowser is waiting for additional services. False when there are no additional services.
You use this event to compile a list of available services. It should wait until moreComing is false to do a bulk update of user interface elements.
Special Considerations
If you choose to resolve netService, you need to create a new object with copy constructor in your subclass to catch events. And please store the new reference in an array or property.
NSNetServiceBrowserMBS.DidNotSearch(error as Dictionary)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
error: Dictionary with the reasons the search was unsuccessful. Use the dictionary keys NSNetServicesErrorCode and NSNetServicesErrorDomain to retrieve the error information from the dictionary.
NSNetServiceBrowserMBS.DidRemoveDomain(domainName as String, moreComing as Boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
domainName: Name of the domain that became unavailable.
moreComing: True when netServiceBrowser is waiting for additional domains. False when there are no additional domains.
You this event to compile a list of unavailable domains. It should wait until moreComing is false to do a bulk update of user interface elements.
NSNetServiceBrowserMBS.DidRemoveService(service as NSNetServiceMBS, moreComing as Boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Service: Network service that has become unavailable.
moreComing: True when netServiceBrowser is waiting for additional services. False when there are no additional services.
You this event to compile a list of unavailable services. It should wait until moreComing is false to do a bulk update of user interface elements.
NSNetServiceBrowserMBS.DidStopSearch
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Triggered by stop method.
NSNetServiceBrowserMBS.WillSearch
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
This event is raised only if the underlying network layer is ready to begin a search.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.