CServiceDiscoverer Class Reference

List of all members.

Public Member Functions

 ~CServiceDiscoverer ()
void DiscoverServicesOnDeviceL (TDeviceData *aDevData)
void DiscoverServicesL (TDeviceDataList *aDevDataList)
void FinishDiscovery ()
TBool HasServices ()
 ~CServiceDiscoverer ()
void DiscoverServicesOnDeviceL (TDeviceData *aDevData)
void DiscoverServicesL (TDeviceDataList *aDevDataList)
void FinishDiscovery ()
TBool HasServices ()

Static Public Member Functions

static CServiceDiscovererNewL (MServiceDiscoObserver &aObserver)
static CServiceDiscovererNewLC (MServiceDiscoObserver &aObserver)
static CServiceDiscovererNewL (MServiceDiscoObserver &aObserver)
static CServiceDiscovererNewLC (MServiceDiscoObserver &aObserver)

Public Attributes

TBool iRunning

Detailed Description

Definition at line 59 of file ServiceDiscoverer.h.


Constructor & Destructor Documentation

CServiceDiscoverer::~CServiceDiscoverer (  ) 

~CServiceDiscoverer()

discussion Destroy the object and release all memory objects

Definition at line 61 of file ServiceDiscoverer.cpp.

CServiceDiscoverer::~CServiceDiscoverer (  ) 

~CServiceDiscoverer()

discussion Destroy the object and release all memory objects


Member Function Documentation

CServiceDiscoverer * CServiceDiscoverer::NewL ( MServiceDiscoObserver aObserver  )  [static]

NewL()

discussion Create new CServiceAdvertiser object return a pointer to the created instance of CServiceAdvertiser

Definition at line 34 of file ServiceDiscoverer.cpp.

CServiceDiscoverer * CServiceDiscoverer::NewLC ( MServiceDiscoObserver aObserver  )  [static]

NewLC()

Definition at line 42 of file ServiceDiscoverer.cpp.

void CServiceDiscoverer::DiscoverServicesOnDeviceL ( TDeviceData aDevData  ) 

DiscoverServiceOnDeviceL()

discussion Discovers services on a given device. service discovery agent will be started to do the service discovery. search pattern will be used to limit the discovery for our services (matching service id).

param aDevData device data record

Definition at line 75 of file ServiceDiscoverer.cpp.

void CServiceDiscoverer::DiscoverServicesL ( TDeviceDataList *  aDevDataList  ) 

DiscoverServiceOnDeviceL()

discussion Starts service discovery for all given devices.

param aDevDataList list of devices to do the service discovery for.

Definition at line 107 of file ServiceDiscoverer.cpp.

void CServiceDiscoverer::FinishDiscovery (  ) 

FinishDiscovery()

discussion Stops the service discovery, stops the discovery agent.

param aDevData device data record

Definition at line 123 of file ServiceDiscoverer.cpp.

TBool CServiceDiscoverer::HasServices (  ) 

HasServices()

discussion check if any services were discovered.

return true if any usable services were discovered.

Definition at line 304 of file ServiceDiscoverer.cpp.

static CServiceDiscoverer* CServiceDiscoverer::NewL ( MServiceDiscoObserver aObserver  )  [static]

NewL()

discussion Create new CServiceAdvertiser object return a pointer to the created instance of CServiceAdvertiser

static CServiceDiscoverer* CServiceDiscoverer::NewLC ( MServiceDiscoObserver aObserver  )  [static]
void CServiceDiscoverer::DiscoverServicesOnDeviceL ( TDeviceData aDevData  ) 

DiscoverServiceOnDeviceL()

discussion Discovers services on a given device. service discovery agent will be started to do the service discovery. search pattern will be used to limit the discovery for our services (matching service id).

param aDevData device data record

void CServiceDiscoverer::DiscoverServicesL ( TDeviceDataList *  aDevDataList  ) 

DiscoverServiceOnDeviceL()

discussion Starts service discovery for all given devices.

param aDevDataList list of devices to do the service discovery for.

void CServiceDiscoverer::FinishDiscovery (  ) 

FinishDiscovery()

discussion Stops the service discovery, stops the discovery agent.

param aDevData device data record

TBool CServiceDiscoverer::HasServices (  ) 

HasServices()

discussion check if any services were discovered.

return true if any usable services were discovered.


Generated by  doxygen 1.6.2