org.rococoa.cocoa.foundation
Class NSNetServiceBrowser

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.foundation.NSNetServiceBrowser
All Implemented Interfaces:
NSObject, ObjCObject

public abstract class NSNetServiceBrowser
extends NSObject
implements ObjCObject

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSNetServiceBrowser._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSNetServiceBrowser()
           
 
Method Summary
static NSNetServiceBrowser alloc()
           
static NSNetServiceBrowser create()
          Factory method
abstract  ObjCObject delegate()
          Original signature : -(id)delegate
native declaration : NSNetServices.h:196
static NSNetServiceBrowser._class_ getNSClass()
           
abstract  NSNetServiceBrowser init()
          Original signature : -(id)init
native declaration : NSNetServices.h:194
static NSNetServiceBrowser new_()
           
abstract  void removeFromRunLoop_forMode(NSRunLoop aRunLoop, NSString mode)
          Original signature : -(void)removeFromRunLoop:(NSRunLoop*) forMode:(NSString*)
native declaration : NSNetServices.h:202
abstract  void scheduleInRunLoop_forMode(NSRunLoop aRunLoop, NSString mode)
          NSNetServiceBrowser instances may be scheduled on NSRunLoops to operate in different modes, or in other threads.
abstract  void searchForBrowsableDomains()
          Starts a search for domains that are browsable via Bonjour and the computer's network configuration.
abstract  void searchForRegistrationDomains()
          Starts a search for domains in which the network configuration allows registration (i.e. publishing).
abstract  void searchForServicesOfType_inDomain(NSString type, NSString domainString)
          Starts a search for services of the specified type in the domain indicated by domainString.
abstract  void setDelegate(ObjCObject delegate)
          Original signature : -(void)setDelegate:(id)
native declaration : NSNetServices.h:197
abstract  void stop()
          Stops the currently running search.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSNetServiceBrowser

public NSNetServiceBrowser()
Method Detail

init

public abstract NSNetServiceBrowser init()
Original signature : -(id)init
native declaration : NSNetServices.h:194

Specified by:
init in class NSObject

create

public static NSNetServiceBrowser create()
Factory method

See Also:
init()

delegate

public abstract ObjCObject delegate()
Original signature : -(id)delegate
native declaration : NSNetServices.h:196


setDelegate

public abstract void setDelegate(ObjCObject delegate)
Original signature : -(void)setDelegate:(id)
native declaration : NSNetServices.h:197


scheduleInRunLoop_forMode

public abstract void scheduleInRunLoop_forMode(NSRunLoop aRunLoop,
                                               NSString mode)
NSNetServiceBrowser instances may be scheduled on NSRunLoops to operate in different modes, or in other threads. It is generally not necessary to schedule NSNetServiceBrowsers in other threads. NSNetServiceBrowsers are scheduled in the current thread's NSRunLoop in the NSDefaultRunLoopMode when they are created.
Original signature : -(void)scheduleInRunLoop:(NSRunLoop*) forMode:(NSString*)
native declaration : NSNetServices.h:201


removeFromRunLoop_forMode

public abstract void removeFromRunLoop_forMode(NSRunLoop aRunLoop,
                                               NSString mode)
Original signature : -(void)removeFromRunLoop:(NSRunLoop*) forMode:(NSString*)
native declaration : NSNetServices.h:202


searchForBrowsableDomains

public abstract void searchForBrowsableDomains()
Starts a search for domains that are browsable via Bonjour and the computer's network configuration. Discovered domains are reported to the delegate's -netServiceBrowser:didFindDomain:moreComing: method. There may be more than one browsable domain.
Original signature : -(void)searchForBrowsableDomains
native declaration : NSNetServices.h:208


searchForRegistrationDomains

public abstract void searchForRegistrationDomains()
Starts a search for domains in which the network configuration allows registration (i.e. publishing). Most NSNetServiceBrowser clients do not need to use this API, as it is sufficient to publish an NSNetService instance with the empty string (see -[NSNetService initWithDomain:type:name:port:]). Discovered domains are reported to the delegate's -netServiceBrowser:didFindDomain:moreComing: method. There may be more than one registration domain.
Original signature : -(void)searchForRegistrationDomains
native declaration : NSNetServices.h:214


searchForServicesOfType_inDomain

public abstract void searchForServicesOfType_inDomain(NSString type,
                                                      NSString domainString)
Starts a search for services of the specified type in the domain indicated by domainString. For each service discovered, a -netServiceBrowser:foundService:moreComing: message is sent to the NSNetServiceBrowser instance's delegate.
Original signature : -(void)searchForServicesOfType:(NSString*) inDomain:(NSString*)
native declaration : NSNetServices.h:218


stop

public abstract void stop()
Stops the currently running search.
Original signature : -(void)stop
native declaration : NSNetServices.h:222


alloc

public static NSNetServiceBrowser alloc()

new_

public static NSNetServiceBrowser new_()

getNSClass

public static NSNetServiceBrowser._class_ getNSClass()


Copyright © 2009. All Rights Reserved.