MConnUtilEngineObserver Class Reference

class MConnUtilEngineObserver

Interface for the clients of vcxconnectionutility to receive and react for iap changes and roaming. It is not required for a client to implement this interface. In that case vcxconnectionutility always excepts client to allow roaming.

Public Member Functions
voidIapChangedL()
TBool RequestIsRoamingAllowedL()

Member Functions Documentation

IapChangedL()

voidIapChangedL()[pure virtual]

This method is called by the vcxconnectionutility when there have been some changes in the iap currently using:

Connection lost: this happens when for example WLAN carrier is lost and there is no other iap to use or when the corresponding connection is closed by some other application.

Iap change by the roaming: if the client has accepted roaming, vcxconnectionutility notifies about new iap is ready to use

When client is being called by this method, it can request an iap id by calling CVcxConnectionUtility::GetIap-

RequestIsRoamingAllowedL()

TBool RequestIsRoamingAllowedL()[pure virtual]

This method is called by the vcxconnectionutility when it has received a notification about the availability of "better" iaps in the network. This can happen when WLAN defined in the corresponding destination becomes available or when WLAN carrier is lost and there is a defined 3G/gprs iap (or another available WLAN) in the destination being used.

Client does not have to accept the changing of the iap. If the client returns EFalse notifying it does not want to roam, then the iap is not changed.

This however can result in disconnecting, if the old iap is no longer available, as happens when WLAN carrier is lost