![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/doc/gnustep-base-doc/Base/Reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>NSNetServices documentation</title> </head> <body> <font face="serif"> <a href="Base.html">Up</a> <br /> <h1><a name="title$NSNetServices">NSNetServices documentation</a></h1> <h3>Authors</h3> <dl> <dt>Generated by Debian</dt> <dd> </dd> </dl> <div> <hr width="50%" align="left" /> <h3>Contents -</h3> <ol> <li> <a href="#001000000000">NSNetService class description</a> </li> <li> <a href="#002000000000">NSNetServiceBrowser class description</a> </li> <li> <a href="#003000000000">Software documentation for the NSObject(NSNetServiceBrowserDelegateMethods) informal protocol</a> </li> <li> <a href="#004000000000">Software documentation for the NSObject(NSNetServiceDelegateMethods) informal protocol</a> </li> <li> <a href="#005000000000">NSNetServiceBrowserDelegate protocol description</a> </li> <li> <a href="#006000000000">Software documentation for the NSNetServiceDelegate protocol</a> </li> </ol> <hr width="50%" align="left" /> </div> <h1><a name="001000000000">NSNetService class description</a></h1> <p> </p> <h2><a name="class$NSNetService">NSNetService</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSNetServices.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> <a rel="gsdoc" href="#class$NSNetService">NSNetService</a> lets you publish a network service in a domain using multicast DNS. Additionally, it lets you resolve a network service that was discovered by <a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a> . This class is an abstract superclass for concrete implementations of its functionality. </p> <p> </div> <hr width="50%" align="left" /> <a href="#_NSNetService_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService+dataFromTXTRecordDictionary$">+dataFromTXTRecordDictionary:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService+dictionaryFromTXTRecordData$">+dictionaryFromTXTRecordData:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-TXTRecordData">-TXTRecordData</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-addresses">-addresses</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-delegate">-delegate</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-domain">-domain</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-getInputStream$outputStream$">-getInputStream:outputStream:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-hostName">-hostName</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-initWithDomain$type$name$">-initWithDomain:type:name:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-initWithDomain$type$name$port$">-initWithDomain:type:name:port:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-name">-name</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-port">-port</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-protocolSpecificInformation">-protocolSpecificInformation</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-publish">-publish</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-publishWithOptions$">-publishWithOptions:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-removeFromRunLoop$forMode$">-removeFromRunLoop:forMode:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-resolve">-resolve</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-resolveWithTimeout$">-resolveWithTimeout:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-scheduleInRunLoop$forMode$">-scheduleInRunLoop:forMode:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-setDelegate$">-setDelegate:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-setProtocolSpecificInformation$">-setProtocolSpecificInformation:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-setTXTRecordData$">-setTXTRecordData:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-startMonitoring">-startMonitoring</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-stop">-stop</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-stopMonitoring">-stopMonitoring</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetService-type">-type</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSNetService+dataFromTXTRecordDictionary$">dataFromTXTRecordDictionary: </a></h3> + (<a rel="gsdoc" href="NSData.html#class$NSData">NSData</a>*) <b>dataFromTXTRecordDictionary:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)txtDictionary;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService+dictionaryFromTXTRecordData$">dictionaryFromTXTRecordData: </a></h3> + (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>dictionaryFromTXTRecordData:</b> (<a rel="gsdoc" href="NSData.html#class$NSData">NSData</a>*)txtData;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-TXTRecordData">TXTRecordData </a></h3> - (<a rel="gsdoc" href="NSData.html#class$NSData">NSData</a>*) <b>TXTRecordData</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-addresses">addresses </a></h3> - (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*) <b>addresses</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-delegate">delegate </a></h3> - (id<<a rel="gsdoc" href="#protocol$(NSNetServiceDelegate)">NSNetServiceDelegate</a>>) <b>delegate</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-domain">domain </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>domain</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-getInputStream$outputStream$">getInputStream: outputStream: </a></h3> - (BOOL) <b>getInputStream:</b> (<a rel="gsdoc" href="NSStream.html#class$NSInputStream">NSInputStream</a>**)inputStream<b> outputStream:</b> (<a rel="gsdoc" href="NSStream.html#class$NSOutputStream">NSOutputStream</a>**)outputStream;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-hostName">hostName </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>hostName</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-initWithDomain$type$name$">initWithDomain: type: name: </a></h3> - (id) <b>initWithDomain:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)domain<b> type:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)type<b> name:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-initWithDomain$type$name$port$">initWithDomain: type: name: port: </a></h3> - (id) <b>initWithDomain:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)domain<b> type:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)type<b> name:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> port:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>)port;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-name">name </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>name</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-port">port </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>port</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.5.0</div> <br /> <div class="desc"> Not implemented </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-protocolSpecificInformation">protocolSpecificInformation </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>protocolSpecificInformation</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-publish">publish </a></h3> - (void) <b>publish</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-publishWithOptions$">publishWithOptions: </a></h3> - (void) <b>publishWithOptions:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSNetServiceOptions">NSNetServiceOptions</a>)options;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.5.0</div> <br /> <div class="desc"> Not implemented </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-removeFromRunLoop$forMode$">removeFromRunLoop: forMode: </a></h3> - (void) <b>removeFromRunLoop:</b> (<a rel="gsdoc" href="NSRunLoop.html#class$NSRunLoop">NSRunLoop</a>*)aRunLoop<b> forMode:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)mode;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-resolve">resolve </a></h3> - (void) <b>resolve</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-resolveWithTimeout$">resolveWithTimeout: </a></h3> - (void) <b>resolveWithTimeout:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>)timeout;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-scheduleInRunLoop$forMode$">scheduleInRunLoop: forMode: </a></h3> - (void) <b>scheduleInRunLoop:</b> (<a rel="gsdoc" href="NSRunLoop.html#class$NSRunLoop">NSRunLoop</a>*)aRunLoop<b> forMode:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)mode;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-setDelegate$">setDelegate: </a></h3> - (void) <b>setDelegate:</b> (id<<a rel="gsdoc" href="#protocol$(NSNetServiceDelegate)">NSNetServiceDelegate</a>>)delegate;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-setProtocolSpecificInformation$">setProtocolSpecificInformation: </a></h3> - (void) <b>setProtocolSpecificInformation:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)specificInformation;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-setTXTRecordData$">setTXTRecordData: </a></h3> - (BOOL) <b>setTXTRecordData:</b> (<a rel="gsdoc" href="NSData.html#class$NSData">NSData</a>*)recordData;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-startMonitoring">startMonitoring </a></h3> - (void) <b>startMonitoring</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-stop">stop </a></h3> - (void) <b>stop</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-stopMonitoring">stopMonitoring </a></h3> - (void) <b>stopMonitoring</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetService-type">type </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>type</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <a name="_NSNetService_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSNetService Class</h2> <h3><a name="ivariable$NSNetService*_delegate">_delegate</a></h3> @protected id <b>_delegate</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSNetService*_netService">_netService</a></h3> @protected void* <b>_netService</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSNetService*_reserved">_reserved</a></h3> @protected void* <b>_reserved</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <p> </p> <h1><a name="002000000000"> NSNetServiceBrowser class description </a></h1> <p> </p> <h2><a name="class$NSNetServiceBrowser">NSNetServiceBrowser</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSNetServices.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> <a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a> asynchronously lets you discover network domains and, additionally, search for a type of network service. It sends its delegate a message whenever it discovers a new network service, and whenever a network service goes away. </p> <p> </p> <p> Each <a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a> performs one search at a time. So in order to perform multiple searches simultaneously, create multiple instances. This class is an abstract superclass for concrete implementations of its functionality. </p> <p> </div> <hr width="50%" align="left" /> <a href="#_NSNetServiceBrowser_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetServiceBrowser-delegate">-delegate</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetServiceBrowser-init">-init</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetServiceBrowser-removeFromRunLoop$forMode$">-removeFromRunLoop:forMode:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetServiceBrowser-scheduleInRunLoop$forMode$">-scheduleInRunLoop:forMode:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetServiceBrowser-searchForAllDomains">-searchForAllDomains</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetServiceBrowser-searchForBrowsableDomains">-searchForBrowsableDomains</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetServiceBrowser-searchForRegistrationDomains">-searchForRegistrationDomains</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetServiceBrowser-searchForServicesOfType$inDomain$">-searchForServicesOfType:inDomain:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetServiceBrowser-setDelegate$">-setDelegate:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSNetServiceBrowser-stop">-stop</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSNetServiceBrowser-delegate">delegate </a></h3> - (id<<a rel="gsdoc" href="#protocol$(NSNetServiceBrowserDelegate)">NSNetServiceBrowserDelegate</a>>) <b>delegate</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetServiceBrowser-init">init </a></h3> - (id) <b>init</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetServiceBrowser-removeFromRunLoop$forMode$">removeFromRunLoop: forMode: </a></h3> - (void) <b>removeFromRunLoop:</b> (<a rel="gsdoc" href="NSRunLoop.html#class$NSRunLoop">NSRunLoop</a>*)aRunLoop<b> forMode:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)mode;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetServiceBrowser-scheduleInRunLoop$forMode$">scheduleInRunLoop: forMode: </a></h3> - (void) <b>scheduleInRunLoop:</b> (<a rel="gsdoc" href="NSRunLoop.html#class$NSRunLoop">NSRunLoop</a>*)aRunLoop<b> forMode:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)mode;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetServiceBrowser-searchForAllDomains">searchForAllDomains </a></h3> - (void) <b>searchForAllDomains</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetServiceBrowser-searchForBrowsableDomains">searchForBrowsableDomains </a></h3> - (void) <b>searchForBrowsableDomains</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetServiceBrowser-searchForRegistrationDomains">searchForRegistrationDomains </a></h3> - (void) <b>searchForRegistrationDomains</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetServiceBrowser-searchForServicesOfType$inDomain$">searchForServicesOfType: inDomain: </a></h3> - (void) <b>searchForServicesOfType:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)serviceType<b> inDomain:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)domainName;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetServiceBrowser-setDelegate$">setDelegate: </a></h3> - (void) <b>setDelegate:</b> (id<<a rel="gsdoc" href="#protocol$(NSNetServiceBrowserDelegate)">NSNetServiceBrowserDelegate</a>>)delegate;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSNetServiceBrowser-stop">stop </a></h3> - (void) <b>stop</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <a name="_NSNetServiceBrowser_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSNetServiceBrowser Class</h2> <h3><a name="ivariable$NSNetServiceBrowser*_delegate">_delegate</a></h3> @protected id <b>_delegate</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSNetServiceBrowser*_netServiceBrowser">_netServiceBrowser</a></h3> @protected void* <b>_netServiceBrowser</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSNetServiceBrowser*_reserved">_reserved</a></h3> @protected void* <b>_reserved</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <p> </p> <h1><a name="003000000000"> Software documentation for the NSObject(NSNetServiceBrowserDelegateMethods) informal protocol </a></h1> <h2><a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a>(<a name="category$NSObject(NSNetServiceBrowserDelegateMethods)">NSNetServiceBrowserDelegateMethods</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSNetServices.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowser$didFindDomain$moreComing$">-netServiceBrowser:didFindDomain:moreComing:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowser$didFindService$moreComing$">-netServiceBrowser:didFindService:moreComing:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowser$didNotSearch$">-netServiceBrowser:didNotSearch:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowser$didRemoveDomain$moreComing$">-netServiceBrowser:didRemoveDomain:moreComing:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowser$didRemoveService$moreComing$">-netServiceBrowser:didRemoveService:moreComing:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowserDidStopSearch$">-netServiceBrowserDidStopSearch:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowserWillSearch$">-netServiceBrowserWillSearch:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowser$didFindDomain$moreComing$">netServiceBrowser: didFindDomain: moreComing: </a></h3> - (void) <b>netServiceBrowser:</b> (<a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a>*)aNetServiceBrowser<b> didFindDomain:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)domainString<b> moreComing:</b> (BOOL)moreComing;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that a domain was found. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetServiceBrowser-searchForBrowsableDomains">[NSNetServiceBrowser -searchForBrowsableDomains]</a> <br /> <a rel="gsdoc" href="#method$NSNetServiceBrowser-searchForRegistrationDomains">[NSNetServiceBrowser -searchForRegistrationDomains]</a> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowser$didFindService$moreComing$">netServiceBrowser: didFindService: moreComing: </a></h3> - (void) <b>netServiceBrowser:</b> (<a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a>*)aNetServiceBrowser<b> didFindService:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)aNetService<b> moreComing:</b> (BOOL)moreComing;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that a service was found. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetServiceBrowser-searchForServicesOfType$inDomain$">[NSNetServiceBrowser -searchForServicesOfType:inDomain:]</a> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowser$didNotSearch$">netServiceBrowser: didNotSearch: </a></h3> - (void) <b>netServiceBrowser:</b> (<a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a>*)aNetServiceBrowser<b> didNotSearch:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)errorDict;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the search was unsuccessful. </p> <p> <strong>See also:</strong> <br /> [NSNetServiceBrowser -netServiceBrowserWillSearch:] <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowser$didRemoveDomain$moreComing$">netServiceBrowser: didRemoveDomain: moreComing: </a></h3> - (void) <b>netServiceBrowser:</b> (<a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a>*)aNetServiceBrowser<b> didRemoveDomain:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)domainString<b> moreComing:</b> (BOOL)moreComing;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that a domain has become unavailable. </p> <p> <strong>See also:</strong> <br /> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowser$didRemoveService$moreComing$">netServiceBrowser: didRemoveService: moreComing: </a></h3> - (void) <b>netServiceBrowser:</b> (<a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a>*)aNetServiceBrowser<b> didRemoveService:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)aNetService<b> moreComing:</b> (BOOL)moreComing;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that a service has become unavailable. </p> <p> <strong>See also:</strong> <br /> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowserDidStopSearch$">netServiceBrowserDidStopSearch: </a></h3> - (void) <b>netServiceBrowserDidStopSearch:</b> (<a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a>*)aNetServiceBrowser;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the search was stopped. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetServiceBrowser-stop">[NSNetServiceBrowser -stop]</a> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceBrowserDelegateMethods)-netServiceBrowserWillSearch$">netServiceBrowserWillSearch: </a></h3> - (void) <b>netServiceBrowserWillSearch:</b> (<a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a>*)aNetServiceBrowser;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the search is about to begin. </p> <p> <strong>See also:</strong> <br /> [NSNetServiceBrowser -netServiceBrowser:didNotSearch:] <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <h1><a name="004000000000"> Software documentation for the NSObject(NSNetServiceDelegateMethods) informal protocol </a></h1> <h2><a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a>(<a name="category$NSObject(NSNetServiceDelegateMethods)">NSNetServiceDelegateMethods</a>)</h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSNetServices.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceDelegateMethods)-netService$didAcceptConnectionWithInputStream$outputStream$">-netService:didAcceptConnectionWithInputStream:outputStream:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceDelegateMethods)-netService$didNotPublish$">-netService:didNotPublish:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceDelegateMethods)-netService$didNotResolve$">-netService:didNotResolve:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceDelegateMethods)-netService$didUpdateTXTRecordData$">-netService:didUpdateTXTRecordData:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceDelegateMethods)-netServiceDidPublish$">-netServiceDidPublish:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceDelegateMethods)-netServiceDidResolveAddress$">-netServiceDidResolveAddress:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceDelegateMethods)-netServiceDidStop$">-netServiceDidStop:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceDelegateMethods)-netServiceWillPublish$">-netServiceWillPublish:</a></li> <li><a rel="gsdoc" href="NSNetServices.html#method$NSObject(NSNetServiceDelegateMethods)-netServiceWillResolve$">-netServiceWillResolve:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSObject(NSNetServiceDelegateMethods)-netService$didAcceptConnectionWithInputStream$outputStream$">netService: didAcceptConnectionWithInputStream: outputStream: </a></h3> - (void) <b>netService:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)sender<b> didAcceptConnectionWithInputStream:</b> (<a rel="gsdoc" href="NSStream.html#class$NSInputStream">NSInputStream</a>*)inputStream<b> outputStream:</b> (<a rel="gsdoc" href="NSStream.html#class$NSOutputStream">NSOutputStream</a>*)outputStream;<br /> <div class="availability"> <b>Availability:</b> Not in OpenStep/MacOS-X</div> <br /> <div class="desc"> Notifies the delegate that the service, which must have been published with option NSNetServiceListenForConnections, received a new connection. In order to communicate with the connecting client, you must <a rel="gsdoc" href="NSStream.html#method$NSStream-open"> -open </a> the streams and schedule them with a runloop. To reject a connection, just <a rel="gsdoc" href="NSStream.html#method$NSStream-open"> -open </a> and immediately <a rel="gsdoc" href="NSStream.html#method$NSStream-close"> -close </a> both streams. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceDelegateMethods)-netService$didNotPublish$">netService: didNotPublish: </a></h3> - (void) <b>netService:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)sender<b> didNotPublish:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)errorDict;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the service could not get published. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetService-publish"> [NSNetService -publish] </a> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceDelegateMethods)-netService$didNotResolve$">netService: didNotResolve: </a></h3> - (void) <b>netService:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)sender<b> didNotResolve:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)errorDict;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the service could not get resolved. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetService-resolveWithTimeout$">[NSNetService -resolveWithTimeout:]</a> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceDelegateMethods)-netService$didUpdateTXTRecordData$">netService: didUpdateTXTRecordData: </a></h3> - (void) <b>netService:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)sender<b> didUpdateTXTRecordData:</b> (<a rel="gsdoc" href="NSData.html#class$NSData">NSData</a>*)data;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the TXT record has been updated. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetService-startMonitoring">[NSNetService -startMonitoring]</a> <br /> <a rel="gsdoc" href="#method$NSNetService-stopMonitoring">[NSNetService -stopMonitoring]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceDelegateMethods)-netServiceDidPublish$">netServiceDidPublish: </a></h3> - (void) <b>netServiceDidPublish:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the service was successfully published. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetService-publish"> [NSNetService -publish] </a> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceDelegateMethods)-netServiceDidResolveAddress$">netServiceDidResolveAddress: </a></h3> - (void) <b>netServiceDidResolveAddress:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the service was resolved. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetService-resolveWithTimeout$">[NSNetService -resolveWithTimeout:]</a> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceDelegateMethods)-netServiceDidStop$">netServiceDidStop: </a></h3> - (void) <b>netServiceDidStop:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the request was stopped. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetService-stop"> [NSNetService -stop] </a> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceDelegateMethods)-netServiceWillPublish$">netServiceWillPublish: </a></h3> - (void) <b>netServiceWillPublish:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the network is ready to publish the service. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetService-publish"> [NSNetService -publish] </a> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSObject(NSNetServiceDelegateMethods)-netServiceWillResolve$">netServiceWillResolve: </a></h3> - (void) <b>netServiceWillResolve:</b> (<a rel="gsdoc" href="#class$NSNetService">NSNetService</a>*)sender;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Notifies the delegate that the network is ready to resolve the service. </p> <p> <strong>See also:</strong> <br /> <a rel="gsdoc" href="#method$NSNetService-resolveWithTimeout$">[NSNetService -resolveWithTimeout:]</a> <br /> </p> <p> </div> <hr width="25%" align="left" /> </div> <h1><a name="005000000000"> NSNetServiceBrowserDelegate protocol description </a></h1> <p> </p> <h2><a name="protocol$(NSNetServiceBrowserDelegate)">NSNetServiceBrowserDelegate</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSNetServices.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> This protocol must be adopted by any class wishing to implement an <a rel="gsdoc" href="#class$NSNetServiceBrowser">NSNetServiceBrowser</a> delegate. </p> <p> </div> <p> </p> <h1><a name="006000000000"> Software documentation for the NSNetServiceDelegate protocol </a></h1> <h2><a name="protocol$(NSNetServiceDelegate)">NSNetServiceDelegate</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSNetServices.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <br /> <a href="Base.html">Up</a> </font> </body> </html>