Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (26 sloc) 1.21 kb
// HHServiceBrowser.h
// Part of Hejsan-Hoppsan-Services :
// Created by Tobias on 2011-11-02.
// Copyright (c) 2011 Leafnode AB. All rights reserved.
#import "HHServiceSupport.h"
#import "HHService.h"
@class HHServiceBrowser;
@protocol HHServiceBrowserDelegate <NSObject>
- (void) serviceBrowser:(HHServiceBrowser*)serviceBrowser didFindService:(HHService*)service moreComing:(BOOL)moreComing;
- (void) serviceBrowser:(HHServiceBrowser*)serviceBrowser didRemoveService:(HHService*)service moreComing:(BOOL)moreComing;
@interface HHServiceBrowser : HHServiceSupport
@property (nonatomic, assign) id<HHServiceBrowserDelegate> delegate;
@property (nonatomic, retain, readonly) NSString* type;
@property (nonatomic, retain, readonly) NSString* domain;
@property (nonatomic) BOOL includeP2P;
- (id) initWithType:(NSString*)svcType domain:(NSString*)svcDomain;
- (id) initWithType:(NSString*)svcType domain:(NSString*)svcDomain includeP2P:(BOOL)includeP2P;
- (HHService*) resolverForService:(NSString*)name;
- (void) resolveService:(NSString*)name delegate:(id<HHServiceDelegate>)resolveDelegate;
- (void) beginBrowse;
- (void) endBrowse;
Jump to Line
Something went wrong with that request. Please try again.