Protocol: NSNetServiceBrowserDelegate
Overview
The NSNetServiceBrowserDelegate protocol defines the optional methods implemented by delegates of NSNetServiceBrowser objects.Tells the delegate the sender found a domain.Tells the delegate the sender found a service.Tells the delegate that a search was not successful.Tells the delegate the a domain has disappeared or has become unavailable.Tells the delegate a service has disappeared or has become unavailable.Tells the delegate that a search was stopped.Tells the delegate that a search is commencing.
Instance Method Summary (collapse)
-
- netServiceBrowser:didFindDomain:moreComing:
Tells the delegate the sender found a domain.
-
- netServiceBrowser:didFindService:moreComing:
Tells the delegate the sender found a service.
-
- netServiceBrowser:didNotSearch:
Tells the delegate that a search was not successful.
-
- netServiceBrowser:didRemoveDomain:moreComing:
Tells the delegate the a domain has disappeared or has become unavailable.
-
- netServiceBrowser:didRemoveService:moreComing:
Tells the delegate a service has disappeared or has become unavailable.
-
- netServiceBrowserDidStopSearch:
Tells the delegate that a search was stopped.
-
- netServiceBrowserWillSearch:
Tells the delegate that a search is commencing.
Instance Method Details
- (Object) netServiceBrowser(netServiceBrowser, didFindDomain:domainName, moreComing:moreDomainsComing)
Tells the delegate the sender found a domain. The delegate uses this message to compile a list of available domains. It should wait until moreDomainsComing is NO to do a bulk update of user interface elements.
- (Object) netServiceBrowser(netServiceBrowser, didFindService:netService, moreComing:moreServicesComing)
Tells the delegate the sender found a service. The delegate uses this message to compile a list of available services. It should wait until moreServicesComing is NO to do a bulk update of user interface elements.
- (Object) netServiceBrowser(netServiceBrowser, didNotSearch:errorInfo)
Tells the delegate that a search was not successful.
- (Object) netServiceBrowser(netServiceBrowser, didRemoveDomain:domainName, moreComing:moreDomainsComing)
Tells the delegate the a domain has disappeared or has become unavailable. The delegate uses this message to compile a list of unavailable domains. It should wait until moreDomainsComing is NO to do a bulk update of user interface elements.
- (Object) netServiceBrowser(netServiceBrowser, didRemoveService:netService, moreComing:moreServicesComing)
Tells the delegate a service has disappeared or has become unavailable. The delegate uses this message to compile a list of unavailable services. It should wait until moreServicesComing is NO to do a bulk update of user interface elements.
- (Object) netServiceBrowserDidStopSearch(netServiceBrowser)
Tells the delegate that a search was stopped. When netServiceBrowser receives a stop message from its client, netServiceBrowser sends a netServiceBrowserDidStopSearch: message to its delegate. The delegate then performs any necessary cleanup.
- (Object) netServiceBrowserWillSearch(netServiceBrowser)
Tells the delegate that a search is commencing. This message is sent to the delegate only if the underlying network layer is ready to begin a search. The delegate can use this notification to prepare its data structures to receive data.