Bonjour/MYBonjourBrowser.h
changeset 55 f240f9023393
parent 28 732576fa8a0d
child 50 63baa74c903f
     1.1 --- a/Bonjour/MYBonjourBrowser.h	Mon Apr 27 09:03:56 2009 -0700
     1.2 +++ b/Bonjour/MYBonjourBrowser.h	Thu Jul 02 17:51:35 2009 -0700
     1.3 @@ -7,6 +7,7 @@
     1.4  //
     1.5  
     1.6  #import "MYDNSService.h"
     1.7 +@class MYBonjourRegistration;
     1.8  
     1.9  
    1.10  /** Searches for Bonjour services of a specific type. */
    1.11 @@ -17,6 +18,8 @@
    1.12      BOOL _browsing;
    1.13      Class _serviceClass;
    1.14      NSMutableSet *_services, *_addServices, *_rmvServices;
    1.15 +    BOOL _pendingUpdate;
    1.16 +    MYBonjourRegistration *_myRegistration;
    1.17  }
    1.18  
    1.19  /** Initializes a new BonjourBrowser.
    1.20 @@ -37,4 +40,10 @@
    1.21      to a subclass of that. */
    1.22  @property Class serviceClass;
    1.23  
    1.24 +/** My own registration for this service type.
    1.25 +    This object is created on demand and won't be started up until you tell it to.
    1.26 +    Before starting it, you'll need to set its port, and optionally its name.
    1.27 +    Your own registration will _not_ be visible in the set of services.*/
    1.28 +@property (readonly) MYBonjourRegistration *myRegistration;
    1.29 +
    1.30  @end