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 CServiceDiscoverer * | NewL (MServiceDiscoObserver &aObserver) |
static CServiceDiscoverer * | NewLC (MServiceDiscoObserver &aObserver) |
static CServiceDiscoverer * | NewL (MServiceDiscoObserver &aObserver) |
static CServiceDiscoverer * | NewLC (MServiceDiscoObserver &aObserver) |
Public Attributes | |
TBool | iRunning |
Definition at line 59 of file ServiceDiscoverer.h.
CServiceDiscoverer::~CServiceDiscoverer | ( | ) |
discussion Destroy the object and release all memory objects
Definition at line 61 of file ServiceDiscoverer.cpp.
CServiceDiscoverer::~CServiceDiscoverer | ( | ) |
discussion Destroy the object and release all memory objects
CServiceDiscoverer * CServiceDiscoverer::NewL | ( | MServiceDiscoObserver & | aObserver | ) | [static] |
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] |
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 | ( | ) |
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 | ( | ) |
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] |
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 | ( | ) |
discussion Stops the service discovery, stops the discovery agent.
param aDevData device data record
TBool CServiceDiscoverer::HasServices | ( | ) |
discussion check if any services were discovered.
return true if any usable services were discovered.