MYBonjourBrowser Class Reference

Searches for Bonjour services of a specific type. More...

#import <MYBonjourBrowser.h>

Inherits MYDNSService.

List of all members.

Public Member Functions

(id) - initWithServiceType:
 Initializes a new BonjourBrowser.

Properties

BOOL browsing
 Is the browser currently browsing?
NSSet * services
 The set of currently found services.
Class serviceClass
 The class of objects to create to represent services.
MYBonjourRegistrationmyRegistration
 My own registration for this service type.


Detailed Description

Searches for Bonjour services of a specific type.


Member Function Documentation

- (id) initWithServiceType: (NSString*)  serviceType  

Initializes a new BonjourBrowser.

Call -start to begin browsing.

Parameters:
serviceType The name of the service type to look for, e.g. "_http._tcp".


Property Documentation

- (MYBonjourRegistration *) myRegistration [read, assign]

My own registration for this service type.

This object is created on demand and won't be started up until you tell it to. Before starting it, you'll need to set its port, and optionally its name. Your own registration will _not_ be visible in the set of services.

- (Class) serviceClass [read, write, assign]

The class of objects to create to represent services.

The default value is [BonjourService class]; you can change this, but only to a subclass of that.

- (NSSet*) services [read, assign]

The set of currently found services.

These are instances of the serviceClass, which is BonjourService by default. This is KV-observable.


The documentation for this class was generated from the following files:

Generated on Wed Apr 29 13:35:35 2009 for MYNetwork by  doxygen 1.5.8