CCmConnectionMethodInfo Class Reference

class CCmConnectionMethodInfo : public CCmPluginBaseEng

Acts as a connection method that has no bearer type. Client applications can query connection method, but non-bearer specific attributes by calling RCmManager/ExtGetConnectionMethodInfoXXXL() functions. Modification and update of a connetion method is not supported. Common records of a connection method are loaded, and kept in memory as long as the client application queries attribute of another connection method.

cmmanager.lib
Since
S60 v3.2

Inherits from

Public Member Functions
~CCmConnectionMethodInfo()
voidAdditionalReset()
CCmPluginBaseEng *CreateCopyL()
CCmPluginBaseEng *CreateInstanceL(TCmPluginInitParam &)
TBool GetConnectionInfoBoolL(const TUint32, const TUint32)
TUint32 GetConnectionInfoIntL(const TUint32, const TUint32)
HBufC8 *GetConnectionInfoString8L(const TUint32, const TUint32)
HBufC *GetConnectionInfoStringL(const TUint32, const TUint32)
CCmConnectionMethodInfo *NewL(TCmPluginInitParam *)
CCmConnectionMethodInfo *NewLC(TCmPluginInitParam *)
voidResetIfInMemory(CCmPluginBaseEng *)
Private Member Functions
CCmConnectionMethodInfo(TCmPluginInitParam *)
voidBearerRecordIdLC(HBufC *&, TUint32 &)
TBool CanHandleIapIdL(TUint32)
TBool CanHandleIapIdL(CommsDat::CCDIAPRecord *)
voidConstructL()
voidCopyAdditionalDataL(CCmPluginBaseEng *)
voidCreateNewServiceRecordL()
TBool InitializeWithUiL(TBool)
voidResetAndLoadL(TUint32)
TInt RunSettingsL()
voidServiceRecordIdLC(HBufC *&, TUint32 &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
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()
CCmPluginBaseEng::AddCommonConversionTableL(const TCmCommonAttrConvArrayItem *)
CCmPluginBaseEng::AddConverstionTableL(CommsDat::CCDRecordBase **,TBool *,const TCmAttribConvTable *)
CCmPluginBaseEng::AddResourceFileL(const TDesC &)
CCmPluginBaseEng::AllocReadL(TInt)const
CCmPluginBaseEng::CCmPluginBaseEng(TCmPluginInitParam *)
CCmPluginBaseEng::CheckDNSServerAddressL(TBool,CommsDat::CMDBField< TDesC > &,CommsDat::CMDBField< TDesC > &,CommsDat::CMDBField< TBool > &)
CCmPluginBaseEng::CheckIfAlreadyConnected()const
CCmPluginBaseEng::CheckIfNameModifiedL(CommsDat::CCDRecordBase *)const
CCmPluginBaseEng::CheckSpaceBelowCriticalLevelL()const
CCmPluginBaseEng::CmMgr()const
CCmPluginBaseEng::CommitTransactionL(TInt)
CCmPluginBaseEng::ConvTableItem(TUint32)
CCmPluginBaseEng::CopyAdditionalDataL(CCmPluginBaseEng &)const
CCmPluginBaseEng::CreateAdditionalRecordsL()
CCmPluginBaseEng::CreateNewL()
CCmPluginBaseEng::DecrementRefCounter()
CCmPluginBaseEng::DeleteAdditionalRecordsL()
CCmPluginBaseEng::DeleteL(TBool,TBool)
CCmPluginBaseEng::Destination()const
CCmPluginBaseEng::FeatureSupported(TInt)
CCmPluginBaseEng::FilterPossibleParentsL(RArray< TUint32 > &)
CCmPluginBaseEng::GetAdditionalUids(RArray< TUint32 > &)
CCmPluginBaseEng::GetBoolAttributeL(const TUint32)const
CCmPluginBaseEng::GetIntAttributeL(const TUint32)const
CCmPluginBaseEng::GetRefCounter()
CCmPluginBaseEng::GetString8AttributeL(const TUint32)const
CCmPluginBaseEng::GetStringAttributeL(const TUint32)const
CCmPluginBaseEng::GlobalBearerPriority(const TDesC &)const
CCmPluginBaseEng::GlobalUiBearerPriority(const TDesC &)const
CCmPluginBaseEng::IAPRecordElementId()const
CCmPluginBaseEng::IdIsValid()
CCmPluginBaseEng::IncrementRefCounter()
CCmPluginBaseEng::IsLinkedToIap(TUint32)
CCmPluginBaseEng::IsLinkedToSnap(TUint32)
CCmPluginBaseEng::IsProtected()const
CCmPluginBaseEng::LoadAdditionalRecordsL()
CCmPluginBaseEng::LoadL(TUint32)
CCmPluginBaseEng::LoadServiceSettingL()
CCmPluginBaseEng::NumOfConnMethodReferencesL()
CCmPluginBaseEng::OpenTransactionLC()
CCmPluginBaseEng::ParentDestination()const
CCmPluginBaseEng::PrepareToCopyDataL(CCmPluginBaseEng &)const
CCmPluginBaseEng::PrepareToDeleteRecordsL()
CCmPluginBaseEng::PrepareToLoadRecordsL()
CCmPluginBaseEng::PrepareToUpdateRecordsL()
CCmPluginBaseEng::RemoveCommonConversionTable(const TCmCommonAttrConvArrayItem *)
CCmPluginBaseEng::RemoveConversionTable(const TCmAttribConvTable *)
CCmPluginBaseEng::RemoveResourceFile(const TDesC &)
CCmPluginBaseEng::Reset()
CCmPluginBaseEng::RestoreAttributeL(const TUint32)
CCmPluginBaseEng::RollbackTransaction()
CCmPluginBaseEng::Session()const
CCmPluginBaseEng::SetBoolAttributeL(const TUint32,TBool)
CCmPluginBaseEng::SetDNSServerAddressL(TUint32,const TDesC &,TUint32,const TDesC &,TUint32,TBool)
CCmPluginBaseEng::SetIdValidity(TBool)
CCmPluginBaseEng::SetIntAttributeL(const TUint32,TUint32)
CCmPluginBaseEng::SetPreDefinedId(const TUint32)
CCmPluginBaseEng::SetProxyServerNameL(const TDesC &)
CCmPluginBaseEng::SetString8AttributeL(const TUint32,const TDesC8 &)
CCmPluginBaseEng::SetStringAttributeL(const TUint32,const TDesC16 &)
CCmPluginBaseEng::UpdateAdditionalRecordsL()
CCmPluginBaseEng::UpdateL()
CCmPluginBaseEng::UpdateServiceRecordL()
CCmPluginBaseEng::~CCmPluginBaseEng()
Inherited Attributes
CCmPluginBaseEng::iBearerType
CCmPluginBaseEng::iChargeCardEnabled
CCmPluginBaseEng::iChargeCardRecord
CCmPluginBaseEng::iCmMgr
CCmPluginBaseEng::iDtor_ID_Key
CCmPluginBaseEng::iIapId
CCmPluginBaseEng::iIapRecord
CCmPluginBaseEng::iInvalidAttribute
CCmPluginBaseEng::iLocationEnabled
CCmPluginBaseEng::iLocationRecord
CCmPluginBaseEng::iNetworkRecord
CCmPluginBaseEng::iParentDest
CCmPluginBaseEng::iProxyRecord
CCmPluginBaseEng::iServiceRecord

Constructor & Destructor Documentation

CCmConnectionMethodInfo(TCmPluginInitParam *)

CCmConnectionMethodInfo(TCmPluginInitParam *aInitParam)[private]

Parameters

TCmPluginInitParam * aInitParam

~CCmConnectionMethodInfo()

~CCmConnectionMethodInfo()[virtual]

Member Functions Documentation

AdditionalReset()

voidAdditionalReset()[inline, virtual]

Plug-in implementation can make its on cleanup in this function. Always called from LoadL() and should be called from plugin's destructor.

BearerRecordIdLC(HBufC *&, TUint32 &)

voidBearerRecordIdLC(HBufC *&aBearerName,
TUint32 &aRecordId
)[private, virtual]

Return the bearer table name and record id of this connection in the bearer table.

Parameters

HBufC *& aBearerName
TUint32 & aRecordId

CanHandleIapIdL(TUint32)

TBool CanHandleIapIdL(TUint32aIapId)const [private, virtual]

Checks if the plug-in can handle the given AP.

Parameters

TUint32 aIapIdIAPId of the AP to be checked

CanHandleIapIdL(CommsDat::CCDIAPRecord *)

TBool CanHandleIapIdL(CommsDat::CCDIAPRecord *aIapRecord)const [private, virtual]

Checks if the plug-in can handle the given AP.

Parameters

CommsDat::CCDIAPRecord * aIapRecordIAP record to be checked

ConstructL()

voidConstructL()[private, virtual]

Second phase constructor

CopyAdditionalDataL(CCmPluginBaseEng *)

voidCopyAdditionalDataL(CCmPluginBaseEng *aDestInst)[private, virtual]

Parameters

CCmPluginBaseEng * aDestInst

CreateCopyL()

CCmPluginBaseEng *CreateCopyL()const [virtual]
Create a copy of the connection method:

CreateInstanceL(TCmPluginInitParam &)

CCmPluginBaseEng *CreateInstanceL(TCmPluginInitParam &aInitParam)const [virtual]

Create a new instance of the given bearer type plugin. Used from framework to avoid using slow ECom framework.

Parameters

TCmPluginInitParam & aInitParaminitialization data

CreateNewServiceRecordL()

voidCreateNewServiceRecordL()[private, virtual]

Plugin has to create and initialize its bearer specific object that points to the service record here. Pointer has to be stored in iServiceRecord data member. Do NOT store service record in CommsDat yet.

GetConnectionInfoBoolL(const TUint32, const TUint32)

TBool GetConnectionInfoBoolL(const TUint32aIapId,
const TUint32aAttribute
)[virtual]

Parameters

const TUint32 aIapId
const TUint32 aAttribute

GetConnectionInfoIntL(const TUint32, const TUint32)

TUint32 GetConnectionInfoIntL(const TUint32aIapId,
const TUint32aAttribute
)[virtual]

Parameters

const TUint32 aIapId
const TUint32 aAttribute

GetConnectionInfoString8L(const TUint32, const TUint32)

HBufC8 *GetConnectionInfoString8L(const TUint32aIapId,
const TUint32aAttribute
)[virtual]

Parameters

const TUint32 aIapId
const TUint32 aAttribute

GetConnectionInfoStringL(const TUint32, const TUint32)

HBufC *GetConnectionInfoStringL(const TUint32aIapId,
const TUint32aAttribute
)[virtual]

Parameters

const TUint32 aIapId
const TUint32 aAttribute

InitializeWithUiL(TBool)

TBool InitializeWithUiL(TBoolaManuallyConfigure)[private, virtual]

Called on a newly created connection method to initialize it properly with user interaction (e.g. APN setting for a packet data-, WEP-key setting for a WLAN connection method, etc.). Note: each plug-in should set its name (i.e. ECmName) in this function call.

Since
S60 3.2

Parameters

TBool aManuallyConfigurelet's the plugin know if a plugin should be configured manually or automatically

NewL(TCmPluginInitParam *)

CCmConnectionMethodInfo *NewL(TCmPluginInitParam *aInitParam)[static]

Parameters

TCmPluginInitParam * aInitParam

NewLC(TCmPluginInitParam *)

CCmConnectionMethodInfo *NewLC(TCmPluginInitParam *aInitParam)[static]

Parameters

TCmPluginInitParam * aInitParam

ResetAndLoadL(TUint32)

voidResetAndLoadL(TUint32aIapId)[private]

Parameters

TUint32 aIapId

ResetIfInMemory(CCmPluginBaseEng *)

voidResetIfInMemory(CCmPluginBaseEng *aCM)

Parameters

CCmPluginBaseEng * aCM

RunSettingsL()

TInt RunSettingsL()[private, virtual]

Launches the settings dialog of the plugin

Since
S60 3.2

ServiceRecordIdLC(HBufC *&, TUint32 &)

voidServiceRecordIdLC(HBufC *&aServiceName,
TUint32 &aRecordId
)[private, virtual]

Return the service table name and record id of this connection in the service table.

Parameters

HBufC *& aServiceName
TUint32 & aRecordId