CServiceAdvertiser Class Reference

List of all members.

Public Member Functions

 ~CServiceAdvertiser ()
void StartAdvertiserL (TInt)
void StopAdvertiserL ()
void UpdateAvailabilityL (TBool)
 ~CServiceAdvertiser ()
void StartAdvertiserL (TInt)
void StopAdvertiserL ()
void UpdateAvailabilityL (TBool)

Static Public Member Functions

static CServiceAdvertiserNewL ()
static CServiceAdvertiserNewLC ()
static CServiceAdvertiserNewL ()
static CServiceAdvertiserNewLC ()

Detailed Description

Definition at line 46 of file ServiceAdvertiser.h.


Constructor & Destructor Documentation

CServiceAdvertiser::~CServiceAdvertiser (  ) 

~CDeviceDiscoverer()

discussion Destroy the object and release all memory objects

Definition at line 77 of file ServiceAdvertiser.cpp.

CServiceAdvertiser::~CServiceAdvertiser (  ) 

~CDeviceDiscoverer()

discussion Destroy the object and release all memory objects


Member Function Documentation

CServiceAdvertiser * CServiceAdvertiser::NewL (  )  [static]

NewL()

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

Definition at line 40 of file ServiceAdvertiser.cpp.

CServiceAdvertiser * CServiceAdvertiser::NewLC (  )  [static]

NewLC()

Definition at line 48 of file ServiceAdvertiser.cpp.

void CServiceAdvertiser::StartAdvertiserL ( TInt  aChannel  ) 

StartAdvertiserL()

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 90 of file ServiceAdvertiser.cpp.

void CServiceAdvertiser::StopAdvertiserL (  ) 

StopAdvertiserL()

discussion Stops the service advertiser. our entry from service discovery database will be removed.

Definition at line 149 of file ServiceAdvertiser.cpp.

void CServiceAdvertiser::UpdateAvailabilityL ( TBool  aAvailable  ) 

UpdateAvailabilityL()

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 169 of file ServiceAdvertiser.cpp.

static CServiceAdvertiser* CServiceAdvertiser::NewL (  )  [static]

NewL()

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

static CServiceAdvertiser* CServiceAdvertiser::NewLC (  )  [static]
void CServiceAdvertiser::StartAdvertiserL ( TInt   ) 

StartAdvertiserL()

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.

void CServiceAdvertiser::StopAdvertiserL (  ) 

StopAdvertiserL()

discussion Stops the service advertiser. our entry from service discovery database will be removed.

void CServiceAdvertiser::UpdateAvailabilityL ( TBool   ) 

UpdateAvailabilityL()

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.


Generated by  doxygen 1.6.2