RConnectionUiUtilitiesSession Class Reference

class RConnectionUiUtilitiesSession : public RSessionBase

Inherits from

Public Member Functions
RConnectionUiUtilitiesSession()
~RConnectionUiUtilitiesSession()
voidCancelChangingConnectionToNote()
voidCancelConfirmMethodUsageQuery()
voidCancelConnectedViaConnMethodNote()
voidCancelConnectedViaDestAndConnMethodNote()
voidCancelConnectingViaDiscreetPopup()
voidCancelConnectionErrorDiscreetPopup()
voidCancelEasyWapiDlg()
voidCancelEasyWepDlg()
voidCancelEasyWpaDlg()
voidCancelOffLineWlanNote()
voidCancelSearchWLANNetwork()
voidChangingConnectionToNote(const TUint32, TRequestStatus &)
voidClose()
voidConfirmMethodUsageQuery(TMsgQueryLinkedResults &, const TBool, TRequestStatus &)
TInt Connect()
voidConnectedViaConnMethodNote(const TUint32, TRequestStatus &)
voidConnectedViaDestAndConnMethodNote(const TUint32, const TUint32, TRequestStatus &)
voidConnectingViaDiscreetPopup(TPckgBuf< TConnUiConnectingViaDiscreetPopup > &, TRequestStatus &)
voidConnectionErrorDiscreetPopup(TPckgBuf< TInt > &, TRequestStatus &)
voidEasyWapiDlg(TPckgBuf< TBuf< KEasyWapiQueryMaxLength > > &, TRequestStatus &)
voidEasyWepDlg(TPckgBuf< TWepKeyData > &, TRequestStatus &)
voidEasyWpaDlg(TPckgBuf< TBuf< KEasyWpaQueryMaxLength > > &, TRequestStatus &)
voidNoWLANNetworksAvailableNote(TRequestStatus &)
voidOffLineWlanDisabledNote(TRequestStatus &)
voidOffLineWlanNote(TRequestStatus &, TBool)
voidSearchWLANNetwork(TPckgBuf< TConnUiUiWlanNetworkPrefs > &, TRequestStatus &, TBool)
voidWLANNetworkUnavailableNote(TRequestStatus &)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
TPckg< TBool >iBool
RNotifier *iNotifier
TPckgBuf< TConnUiUiDestConnMethodNoteId >iPassedInfo
TPckg< TMsgQueryLinkedResults >iResponseMsgQuery
TBuf8< 8 >iResponseStrConnectingNote
TBuf8< 8 >iResponseStrNoWLANNetworksAvailableNote
TBuf8< 8 >iResponseStrOffLineWlanDisabledNote
TBuf8< 8 >iResponseStrOffLineWlanNote
TBuf8< 8 >iResponseStrWLANNetworkUnavailableNote
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RConnectionUiUtilitiesSession()

RConnectionUiUtilitiesSession()

Constructor.

~RConnectionUiUtilitiesSession()

~RConnectionUiUtilitiesSession()

Destructor.

Member Functions Documentation

CancelChangingConnectionToNote()

voidCancelChangingConnectionToNote()

Cancel ChangingConnectionToNote notifier.

CancelConfirmMethodUsageQuery()

voidCancelConfirmMethodUsageQuery()

Cancel ConfirmMethodUsageQuery

CancelConnectedViaConnMethodNote()

voidCancelConnectedViaConnMethodNote()

Cancel ConnectedViaConnMethodNote notifier.

CancelConnectedViaDestAndConnMethodNote()

voidCancelConnectedViaDestAndConnMethodNote()

Cancel ConnectedViaDestAndConnMethodNote notifier.

CancelConnectingViaDiscreetPopup()

voidCancelConnectingViaDiscreetPopup()

Cancel ConnectingViaDiscreetPopup notifier.

CancelConnectionErrorDiscreetPopup()

voidCancelConnectionErrorDiscreetPopup()

Cancel ConnectionErrorDiscreetPopup notifier.

CancelEasyWapiDlg()

voidCancelEasyWapiDlg()

Cancel EasyWapiDlg notifier.

CancelEasyWepDlg()

voidCancelEasyWepDlg()

Cancel Easy Wep dialog

CancelEasyWpaDlg()

voidCancelEasyWpaDlg()

Cancel Easy Wpa dialog

CancelOffLineWlanNote()

voidCancelOffLineWlanNote()

Cancel OffLineWlan Note

CancelSearchWLANNetwork()

voidCancelSearchWLANNetwork()

Cancel SearchWLANNetwork

ChangingConnectionToNote(const TUint32, TRequestStatus &)

voidChangingConnectionToNote(const TUint32aConnMId,
TRequestStatus &aStatus
)

Information note is used when "Automatically" roaming is enabled The actual connection establishment take places in the background (no wait note).

Parameters

const TUint32 aConnMIdId of used connection method.
TRequestStatus & aStatusStatus object of notifier.

Close()

voidClose()

Disconnect from the notifier server.

ConfirmMethodUsageQuery(TMsgQueryLinkedResults &, const TBool, TRequestStatus &)

voidConfirmMethodUsageQuery(TMsgQueryLinkedResults &aResult,
const TBoolaHomeNetwork,
TRequestStatus &aStatus
)

Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?"

Parameters

TMsgQueryLinkedResults & aResultResult of user selection, ETrue if user accepted roaming, to more preferred method, EFlase otherwise
const TBool aHomeNetworkhome or foreign network
TRequestStatus & aStatusStatus object of notifier.

Connect()

TInt Connect()

Connect to the notifier server. Must be called before any other function (c'tor excepted).

ConnectedViaConnMethodNote(const TUint32, TRequestStatus &)

voidConnectedViaConnMethodNote(const TUint32aConnMId,
TRequestStatus &aStatus
)

Confirmation note is used after the connection has been successfully established via a connection method.

Parameters

const TUint32 aConnMIdId of used connection method.
TRequestStatus & aStatusStatus object of notifier.

ConnectedViaDestAndConnMethodNote(const TUint32, const TUint32, TRequestStatus &)

voidConnectedViaDestAndConnMethodNote(const TUint32aDestId,
const TUint32aConnMId,
TRequestStatus &aStatus
)

Confirmation note is used after the connection has been successfully established via destination and connection method.

Parameters

const TUint32 aDestIdId of used destination.
const TUint32 aConnMIdId of used connection method.
TRequestStatus & aStatusStatus object of notifier.

ConnectingViaDiscreetPopup(TPckgBuf< TConnUiConnectingViaDiscreetPopup > &, TRequestStatus &)

voidConnectingViaDiscreetPopup(TPckgBuf< TConnUiConnectingViaDiscreetPopup > &aInfo,
TRequestStatus &aStatus
)

Discreet popup. Shows "connecting via %U" discreet popup.

Parameters

TPckgBuf< TConnUiConnectingViaDiscreetPopup > & aInfoInformation about bearer.
TRequestStatus & aStatus

ConnectionErrorDiscreetPopup(TPckgBuf< TInt > &, TRequestStatus &)

voidConnectionErrorDiscreetPopup(TPckgBuf< TInt > &aErrCode,
TRequestStatus &aStatus
)

Discreet popup. Shows discreet popup about connection error.

Parameters

TPckgBuf< TInt > & aErrCodeError code.
TRequestStatus & aStatus

EasyWapiDlg(TPckgBuf< TBuf< KEasyWapiQueryMaxLength > > &, TRequestStatus &)

voidEasyWapiDlg(TPckgBuf< TBuf< KEasyWapiQueryMaxLength > > &aKey,
TRequestStatus &aStatus
)

Notifier. Prompts WAPI-PSK. Shows a data query, "Enter pre-shared key for WLAN"

Parameters

TPckgBuf< TBuf< KEasyWapiQueryMaxLength > > & aKeyKey entered by user
TRequestStatus & aStatus

EasyWepDlg(TPckgBuf< TWepKeyData > &, TRequestStatus &)

voidEasyWepDlg(TPckgBuf< TWepKeyData > &aKey,
TRequestStatus &aStatus
)

Notifier. Shows a data query, "Enter WEP key for WLAN"

Parameters

TPckgBuf< TWepKeyData > & aKeyKey entered by user
TRequestStatus & aStatus

EasyWpaDlg(TPckgBuf< TBuf< KEasyWpaQueryMaxLength > > &, TRequestStatus &)

voidEasyWpaDlg(TPckgBuf< TBuf< KEasyWpaQueryMaxLength > > &aKey,
TRequestStatus &aStatus
)

Notifier. Shows a data query, "Enter pre-shared key for WLAN"

Parameters

TPckgBuf< TBuf< KEasyWpaQueryMaxLength > > & aKeyKey entered by user
TRequestStatus & aStatus

NoWLANNetworksAvailableNote(TRequestStatus &)

voidNoWLANNetworksAvailableNote(TRequestStatus &aStatus)

Pops up an information note: "No WLAN networks are available at the moment. Connection not available."

Parameters

TRequestStatus & aStatus

OffLineWlanDisabledNote(TRequestStatus &)

voidOffLineWlanDisabledNote(TRequestStatus &aStatus)

Notifier. Pops up an information note: "Operation not possible in Off-line mode"

Parameters

TRequestStatus & aStatus

OffLineWlanNote(TRequestStatus &, TBool)

voidOffLineWlanNote(TRequestStatus &aStatus,
TBoolaIsAsyncVersion
)

Notifier. Shows a query, "Do you want to create a WLAN connection in Off-line mode?"

Parameters

TRequestStatus & aStatusstatus object of notifier
TBool aIsAsyncVersionETrue if called by a really asynchronous function

SearchWLANNetwork(TPckgBuf< TConnUiUiWlanNetworkPrefs > &, TRequestStatus &, TBool)

voidSearchWLANNetwork(TPckgBuf< TConnUiUiWlanNetworkPrefs > &aNetworkPrefs,
TRequestStatus &aStatus,
TBoolaIsAsyncVersion
)

Notifier. Search available WLAN networks, and user can select one of them

Parameters

TPckgBuf< TConnUiUiWlanNetworkPrefs > & aNetworkPrefsReturn parameter, contains id, connection mode and security mode of selected wlan network
TRequestStatus & aStatusstatus object of notifier or user does not select a network.
TBool aIsAsyncVersionETrue if called by a really asynchronous function

WLANNetworkUnavailableNote(TRequestStatus &)

voidWLANNetworkUnavailableNote(TRequestStatus &aStatus)

Pops up an information note: "Selected WLAN network has no coverage"

Parameters

TRequestStatus & aStatus

Member Data Documentation

TPckg< TBool > iBool

TPckg< TBool >iBool[private]

RNotifier * iNotifier

RNotifier *iNotifier[private]

TPckgBuf< TConnUiUiDestConnMethodNoteId > iPassedInfo

TPckgBuf< TConnUiUiDestConnMethodNoteId >iPassedInfo[private]

TPckg< TMsgQueryLinkedResults > iResponseMsgQuery

TPckg< TMsgQueryLinkedResults >iResponseMsgQuery[private]

TBuf8< 8 > iResponseStrConnectingNote

TBuf8< 8 >iResponseStrConnectingNote[private]

TBuf8< 8 > iResponseStrNoWLANNetworksAvailableNote

TBuf8< 8 >iResponseStrNoWLANNetworksAvailableNote[private]

TBuf8< 8 > iResponseStrOffLineWlanDisabledNote

TBuf8< 8 >iResponseStrOffLineWlanDisabledNote[private]

TBuf8< 8 > iResponseStrOffLineWlanNote

TBuf8< 8 >iResponseStrOffLineWlanNote[private]

TBuf8< 8 > iResponseStrWLANNetworkUnavailableNote

TBuf8< 8 >iResponseStrWLANNetworkUnavailableNote[private]