// // OSCZeroConfDomain.h // VVOSC // // Created by bagheera on 12/9/08. // Copyright 2008 __MyCompanyName__. All rights reserved. // #if IPHONE #import #else #import #endif #import #import #include @interface OSCZeroConfDomain : NSObject { NSString *domainString; NSNetServiceBrowser *serviceBrowser; NSMutableArray *servicesArray; pthread_rwlock_t servicesLock; id domainManager; } + (id) createWithDomain:(NSString *)d andDomainManager:(id)m; - (id) initWithDomain:(NSString *)d andDomainManager:(id)m; // NSNetServiceBrowser delegate methods - (void)netServiceBrowser:(NSNetServiceBrowser *)n didFindService:(NSNetService *)x moreComing:(BOOL)m; - (void)netServiceBrowser:(NSNetServiceBrowser *)n didNotSearch:(NSDictionary *)err; - (void)netServiceBrowser:(NSNetServiceBrowser *)n didRemoveService:(NSNetService *)s moreComing:(BOOL)m; // NSNetService delegate methods - (void)netService:(NSNetService *)n didNotResolve:(NSDictionary *)err; - (void)netServiceDidResolveAddress:(NSNetService *)n; @end