diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_service_advertiser.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_service_advertiser.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,163 @@ + + + + +TB9.2 Example Applications: CServiceAdvertiser Class Reference + + + + + +
+

CServiceAdvertiser Class Reference

+

List of all members.

+ + + + + + + + + +

Public Member Functions

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

Static Public Member Functions

static CServiceAdvertiserNewL ()
static CServiceAdvertiserNewLC ()
+

Detailed Description

+ +

Definition at line 21 of file ServiceAdvertiser.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
CServiceAdvertiser::~CServiceAdvertiser ( ) 
+
+
+

~CDeviceDiscoverer()

+

discussion Destroy the object and release all memory objects

+ +

Definition at line 52 of file ServiceAdvertiser.cpp.

+ +
+
+

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

+ +
+
+ +
+
+ + + + + + + + +
CServiceAdvertiser * CServiceAdvertiser::NewLC ( )  [static]
+
+
+

NewLC()

+ +

Definition at line 23 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 65 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 124 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 144 of file ServiceAdvertiser.cpp.

+ +
+
+
+
Generated by  + +doxygen 1.6.2
+ +