Public Member Functions | |
~CServiceAdvertiser () | |
void | StartAdvertiserL (TInt) |
void | StopAdvertiserL () |
void | UpdateAvailabilityL (TBool) |
Static Public Member Functions | |
static CServiceAdvertiser * | NewL () |
static CServiceAdvertiser * | NewLC () |
Definition at line 21 of file ServiceAdvertiser.h.
CServiceAdvertiser::~CServiceAdvertiser | ( | ) |
~CDeviceDiscoverer()
discussion Destroy the object and release all memory objects
Definition at line 52 of file ServiceAdvertiser.cpp.
CServiceAdvertiser * CServiceAdvertiser::NewL | ( | ) | [static] |
discussion Create new CServiceAdvertiser object return a pointer to the created instance of CServiceAdvertiser
Definition at line 15 of file ServiceAdvertiser.cpp.
CServiceAdvertiser * CServiceAdvertiser::NewLC | ( | ) | [static] |
Definition at line 23 of file ServiceAdvertiser.cpp.
void CServiceAdvertiser::StartAdvertiserL | ( | TInt | aChannel | ) |
discussion Starts the service advertiser.
param aChannel the communication channel (port) the service will be advertised on. an entry for our advertisement will be added to service discovery database.
Definition at line 65 of file ServiceAdvertiser.cpp.
void CServiceAdvertiser::StopAdvertiserL | ( | ) |
discussion Stops the service advertiser. our entry from service discovery database will be removed.
Definition at line 124 of file ServiceAdvertiser.cpp.
void CServiceAdvertiser::UpdateAvailabilityL | ( | TBool | aAvailable | ) |
discussion Updates the availability of advertised service. the service record in service discovery database will be updated accordingly.
param aAvailable true if the service should be set as available, false if unavailable.
Definition at line 144 of file ServiceAdvertiser.cpp.