CActiveWrapper Class Reference

class CActiveWrapper : public CActive

?one_line_short_description. ?other_description_lines

?library
Since
Series ?XX ?SeriesXX_version

Inherits from

Public Member Functions
~CActiveWrapper ()
void DoCancel ()
CActiveWrapper * NewL (const TUint )
void RunL ()
void StartConnectingViaDiscreetPopup ( TPckgBuf < TConnUiConnectingViaDiscreetPopup > &)
void StartConnectionErrorDiscreetPopup ( TPckgBuf < TInt > &)
TInt StartEasyWapiDlg ( TPckgBuf < TBuf < KEasyWapiQueryMaxLength > > &)
TInt StartEasyWepDlg ( TPckgBuf < TWepKeyData > &)
void StartEasyWepDlgAsync ( TRequestStatus &, TDes *, TBool &)
TInt StartEasyWpaDlg ( TPckgBuf < TBuf < KEasyWpaQueryMaxLength > > &)
void StartEasyWpaDlgAsync ( TRequestStatus &, TDes *)
void StartGenericNote (const TUint , const TUint32 , const TUint32 )
void StartSearchWLANNetwork ( TPckgBuf < TConnUiUiWlanNetworkPrefs > &)
void StartSearchWLANNetworkAsync ( TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TWlanConnectionExtentedSecurityMode &, TBool &)
Private Member Functions
CActiveWrapper (const TUint )
void ConstructL ()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Inherited Enumerations
CActive:TPriority
Protected Attributes
TWlanConnectionMode * iConnectionMode
TWlanConnectionExtentedSecurityMode * iExtSecurityMode
TBool * iHex
TUint iIndexOfNote
TDes * iKey
TPckgBuf < TConnUiUiWlanNetworkPrefs > iNetworkPrefs
RConnectionUiUtilitiesSession iNotif
TBool * iProtectedSetupSupported
TRequestStatus * iRS
TWlanSsid * iSSID
TWlanConnectionSecurityMode * iSecurityMode
CActiveSchedulerWait iWait
TPckgBuf < TWepKeyData > iWepKey
TPckgBuf < TBuf < KEasyWpaQueryMaxLength > > iWpaKey
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CActiveWrapper(const TUint)

CActiveWrapper ( const TUint aIndexOfNote ) [private]

C++ default constructor.

Parameters

const TUint aIndexOfNote

~CActiveWrapper()

~CActiveWrapper ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DoCancel()

void DoCancel ( ) [virtual]

Implements cancellation of an outstanding request.

This function is called as part of the active object's Cancel() .

It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.

DoCancel() must not wait for event completion; this is handled by Cancel() .

CActive::Cancel

NewL(const TUint)

CActiveWrapper * NewL ( const TUint aIndexOfNote ) [static]

Two-phased constructor.

Parameters

const TUint aIndexOfNote

RunL()

void RunL ( ) [virtual]

Handles an active object's request completion event.

A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.

The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.

Before calling this active object's RunL() function, the active scheduler has:

1. decided that this is the highest priority active object with a completed request

2. marked this active object's request as complete (i.e. the request is no longer outstanding)

RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.

Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.

CActiveScheduler::Start CActiveScheduler::Error CActiveScheduler::WaitForAnyRequest TRAPD

StartConnectingViaDiscreetPopup(TPckgBuf< TConnUiConnectingViaDiscreetPopup > &)

void StartConnectingViaDiscreetPopup ( TPckgBuf < TConnUiConnectingViaDiscreetPopup > & aInfo )

StartConnectionErrorDiscreetPopup(TPckgBuf< TInt > &)

void StartConnectionErrorDiscreetPopup ( TPckgBuf < TInt > & aErrCode )

Parameters

TPckgBuf < TInt > & aErrCode

StartEasyWapiDlg(TPckgBuf< TBuf< KEasyWapiQueryMaxLength > > &)

TInt StartEasyWapiDlg ( TPckgBuf < TBuf < KEasyWapiQueryMaxLength > > & aKey )

StartEasyWepDlg(TPckgBuf< TWepKeyData > &)

TInt StartEasyWepDlg ( TPckgBuf < TWepKeyData > & aKey )

Parameters

TPckgBuf < TWepKeyData > & aKey

StartEasyWepDlgAsync(TRequestStatus &, TDes *, TBool &)

void StartEasyWepDlgAsync ( TRequestStatus & aStatus,
TDes * aKey,
TBool & aHex
)

Parameters

TRequestStatus & aStatus
TDes * aKey
TBool & aHex

StartEasyWpaDlg(TPckgBuf< TBuf< KEasyWpaQueryMaxLength > > &)

TInt StartEasyWpaDlg ( TPckgBuf < TBuf < KEasyWpaQueryMaxLength > > & aKey )

StartEasyWpaDlgAsync(TRequestStatus &, TDes *)

void StartEasyWpaDlgAsync ( TRequestStatus & aStatus,
TDes * aKey
)

Parameters

TRequestStatus & aStatus
TDes * aKey

StartGenericNote(const TUint, const TUint32, const TUint32)

void StartGenericNote ( const TUint aIndexOfNote,
const TUint32 aConnMId = 0,
const TUint32 aDestId = 0
)

Parameters

const TUint aIndexOfNote
const TUint32 aConnMId = 0
const TUint32 aDestId = 0

StartSearchWLANNetwork(TPckgBuf< TConnUiUiWlanNetworkPrefs > &)

void StartSearchWLANNetwork ( TPckgBuf < TConnUiUiWlanNetworkPrefs > & aNetworkPrefs )

Parameters

TPckgBuf < TConnUiUiWlanNetworkPrefs > & aNetworkPrefs

StartSearchWLANNetworkAsync(TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TWlanConnectionExtentedSecurityMode &, TBool &)

void StartSearchWLANNetworkAsync ( TRequestStatus & aStatus,
TWlanSsid & aSSID,
TWlanConnectionMode & aConnectionMode,
TWlanConnectionSecurityMode & aSecurityMode,
TWlanConnectionExtentedSecurityMode & aExtSecurityMode,
TBool & aProtectedSetupSupported
)

Parameters

TRequestStatus & aStatus
TWlanSsid & aSSID
TWlanConnectionMode & aConnectionMode
TWlanConnectionSecurityMode & aSecurityMode
TWlanConnectionExtentedSecurityMode & aExtSecurityMode
TBool & aProtectedSetupSupported

Member Data Documentation

TWlanConnectionMode * iConnectionMode

TWlanConnectionMode * iConnectionMode [protected]

TWlanConnectionExtentedSecurityMode * iExtSecurityMode

TWlanConnectionExtentedSecurityMode * iExtSecurityMode [protected]

TBool * iHex

TBool * iHex [protected]

TUint iIndexOfNote

TUint iIndexOfNote [protected]

TDes * iKey

TDes * iKey [protected]

TPckgBuf< TConnUiUiWlanNetworkPrefs > iNetworkPrefs

TPckgBuf < TConnUiUiWlanNetworkPrefs > iNetworkPrefs [protected]

RConnectionUiUtilitiesSession iNotif

RConnectionUiUtilitiesSession iNotif [protected]

TBool * iProtectedSetupSupported

TBool * iProtectedSetupSupported [protected]

TRequestStatus * iRS

TRequestStatus * iRS [protected]

TWlanSsid * iSSID

TWlanSsid * iSSID [protected]

TWlanConnectionSecurityMode * iSecurityMode

TWlanConnectionSecurityMode * iSecurityMode [protected]

CActiveSchedulerWait iWait

CActiveSchedulerWait iWait [protected]

TPckgBuf< TWepKeyData > iWepKey

TPckgBuf < TWepKeyData > iWepKey [protected]

TPckgBuf< TBuf< KEasyWpaQueryMaxLength > > iWpaKey

TPckgBuf < TBuf < KEasyWpaQueryMaxLength > > iWpaKey [protected]