Bonjour/MYBonjourBrowser.m
changeset 59 46c7844cb592
parent 50 63baa74c903f
     1.1 --- a/Bonjour/MYBonjourBrowser.m	Wed Jul 01 14:14:32 2009 -0700
     1.2 +++ b/Bonjour/MYBonjourBrowser.m	Mon Jul 20 13:26:29 2009 -0700
     1.3 @@ -62,7 +62,7 @@
     1.4  }
     1.5  
     1.6  
     1.7 -@synthesize browsing=_browsing, services=_services, serviceClass=_serviceClass;
     1.8 +@synthesize delegate=_delegate, browsing=_browsing, services=_services, serviceClass=_serviceClass;
     1.9  
    1.10  
    1.11  - (NSString*) description
    1.12 @@ -92,10 +92,11 @@
    1.13                         flags: (DNSServiceFlags)flags
    1.14  {
    1.15      // Create (or reuse existing) MYBonjourService object:
    1.16 -    MYBonjourService *service = [[_serviceClass alloc] initWithName: serviceName
    1.17 -                                                               type: regtype
    1.18 -                                                             domain: domain
    1.19 -                                                          interface: interfaceIndex];
    1.20 +    MYBonjourService *service = [[_serviceClass alloc] initWithBrowser: self
    1.21 +                                                                  name: serviceName
    1.22 +                                                                  type: regtype
    1.23 +                                                                domain: domain
    1.24 +                                                             interface: interfaceIndex];
    1.25      if ([_myRegistration isSameAsService: service]) {
    1.26          // This is an echo of my own registration, so ignore it
    1.27          LogTo(Bonjour,@"%@ ignoring echo %@", self,service);