Public Member Functions | Protected Attributes | Properties

PeerBrowser Class Reference

Used to browse other peers. More...

#import <PeerBrowser.h>

List of all members.

Public Member Functions

(BOOL) - start
 Starts browsing other peers.
(void) - stop
 Stop Browsing for Bonjour services and remove all peers from peers array.
(void) - sortPeers

Protected Attributes

NSNetServiceBrowser * netServiceBrowser
 instance of NSNetServiceBrowser

Properties

NSMutableArray * peers
 to store available services
id< PeerBrowserDelegatedelegate
 delegate to handle new services

Detailed Description

Used to browse other peers.


Member Function Documentation

- (void) sortPeers
- (BOOL) start

Starts browsing other peers.

Returns:
YES if it successfully starts browsing
- (void) stop

Stop Browsing for Bonjour services and remove all peers from peers array.


Member Data Documentation

- (NSNetServiceBrowser*) netServiceBrowser [protected]

instance of NSNetServiceBrowser


Property Documentation

- (id< PeerBrowserDelegate >) delegate [read, write, retain]

delegate to handle new services

- (NSMutableArray *) peers [read, assign]

to store available services


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Properties