//
//  RendezvousClient.h
//  CyTV Client
//
//  Created by Andreas Junghans on 13.05.05.
//  Copyright 2005 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface RendezvousClientDelegate : NSObject {
}
- (void)browsingFinished:(NSArray *)results;
@end

@interface RendezvousClient : NSObject {
    NSNetServiceBrowser *_browser;
    NSMutableArray *_services;
    NSMutableDictionary *_servicesDict;
    int _toResolveUntilFinished;
    BOOL _searchingFinished;
    RendezvousClientDelegate *_delegate;
}

- (NSArray *)resultsOfBrowsing;
- (void)stopBrowsing;
- (void)setDelegate:(id)delegate;
+ (NSString *) getAddressOfService: (NSNetService *) netService;
+ (NSString *) getDisplayNameOfService: (NSNetService *) netService;

@end
