CAgentMetaConnectionProvider Class Reference

class CAgentMetaConnectionProvider : public CCoreMetaConnectionProvider
Public Member Functions
~CAgentMetaConnectionProvider ()
IMPORT_C void GetBoolSettingL (const TDesC &, TBool &, ESock::MPlatsecApiExt *)
IMPORT_C void GetDes16SettingL (const TDesC &, TDes16 &, ESock::MPlatsecApiExt *)
IMPORT_C void GetDes8SettingL (const TDesC &, TDes8 &, ESock::MPlatsecApiExt *)
IMPORT_C void GetIntSettingL (const TDesC &, TUint32 &, ESock::MPlatsecApiExt *)
IMPORT_C TInt GetIp4Addr ( ESock::CCommsDatIapView *, CommsDat::TMDBElementId , TUint32 &)
IMPORT_C void GetIp4AddrL ( ESock::CCommsDatIapView *, CommsDat::TMDBElementId , TUint32 &)
IMPORT_C TInt GetIp6Addr ( ESock::CCommsDatIapView *, CommsDat::TMDBElementId , TIp6Addr &)
IMPORT_C void GetIp6AddrL ( ESock::CCommsDatIapView *, CommsDat::TMDBElementId , TIp6Addr &)
IMPORT_C void GetLongDesSettingL (const TDesC &, HBufC *&, ESock::MPlatsecApiExt *)
TMDBElementId MapFieldNameL (const TDesC &, ESock::MPlatsecApiExt *)
void ReturnInterfacePtrL ( ESock::MLinkMCprLegacyDataAccessApiExt *&)
void ReturnInterfacePtrL ( ESock::MQueryConnSettingsApiExt *&)
TMDBElementId SecondChanceModemBearerLegacyMapFieldNameL (const TDesC &, ESock::MPlatsecApiExt *)
Protected Member Functions
CAgentMetaConnectionProvider ( ESock::CMetaConnectionProviderFactoryBase &, const ESock::TProviderInfo &, const MeshMachine::TNodeActivityMap &)
const CAgentProvisionInfo * AgentProvisionInfo ()
IMPORT_C void CancelAvailabilityMonitoring ()
IMPORT_C void CleanupCloseIapView ( TAny *)
IMPORT_C void CloseIapView ()
IMPORT_C void ConstructL ()
void DestroyIapView ()
IMPORT_C ESock::CCommsDatIapView * IapView ()
IMPORT_C ESock::CCommsDatIapView * OpenIapViewL ()
IMPORT_C ESock::CCommsDatIapView * OpenIapViewLC ()
IMPORT_C void SetAgentNotificationHandlerL ( CAgentNotificationHandler *)
IMPORT_C void StartAvailabilityMonitoringL (const Messages::TNodeCtxId &)
Private Member Functions
CCredentialsConfig * CreateCredentialsInfoL ()
void ProvisionAgentInfoL ()
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()
CCoreMetaConnectionProvider::CCoreMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase &,const ESock::TProviderInfo &,const MeshMachine::TNodeActivityMap &)
CCoreMetaConnectionProvider::Received(MeshMachine::TNodeContextBase &)
CCoreMetaConnectionProvider::ReceivedL(const Messages::TRuntimeCtxId &,const Messages::TNodeId &,Messages::TSignatureBase &)
CCoreMetaConnectionProvider::~CCoreMetaConnectionProvider()
ESock::CCommsProviderBase::AccessPointConfig()const
ESock::CCommsProviderBase::~CCommsProviderBase()
ESock::CMMCommsProviderBase::AddClientL(const Messages::TNodeId &,const Messages::TClientType &,TAny *)
ESock::CMMCommsProviderBase::CMMCommsProviderBase(CCommsFactoryBase &,const MeshMachine::TNodeActivityMap &)
ESock::CMMCommsProviderBase::CreateParameterBundleL()
ESock::CMMCommsProviderBase::DestroyOrphanedDataClients()
ESock::CMMCommsProviderBase::FetchNodeInterfaceControlL(TInt)
ESock::CMMCommsProviderBase::GetOrCreateParameterBundleL()
ESock::CMMCommsProviderBase::GetParameterBundle()
ESock::CMMCommsProviderBase::Id()const
ESock::CMMCommsProviderBase::ReturnInterfacePtrL(MAccessPointConfigApi *&)
ESock::CMMCommsProviderBase::SetParametersL(const RCFParameterFamilyBundleC &)
ESock::CMMCommsProviderBase::~CMMCommsProviderBase()
ESock::CMetaConnectionProviderBase::AccessPointConfig()
ESock::CMetaConnectionProviderBase::BlockingDestroy()
ESock::CMetaConnectionProviderBase::CMetaConnectionProviderBase(CMetaConnectionProviderFactoryBase &,const TProviderInfo &,const MeshMachine::TNodeActivityMap &)
ESock::CMetaConnectionProviderBase::DecrementBlockingDestroy()
ESock::CMetaConnectionProviderBase::FindServiceProvider(TUint)
ESock::CMetaConnectionProviderBase::GetTierManager()const
ESock::CMetaConnectionProviderBase::IncrementBlockingDestroy()
ESock::CMetaConnectionProviderBase::NewClientInterfaceL(const Messages::TClientType &,TAny *)
ESock::CMetaConnectionProviderBase::ProviderInfo()const
ESock::CMetaConnectionProviderBase::SetAccessPointConfigL()
ESock::CMetaConnectionProviderBase::SetProviderInfo(const TProviderInfo &)
ESock::CMetaConnectionProviderBase::SetTierManagerL(CTierManagerBase *)
ESock::CMetaConnectionProviderBase::ShowAccessPointRecordL(CommsDat::CMDBSession *,CommsDat::CCDAccessPointRecord *)
ESock::CMetaConnectionProviderBase::~CMetaConnectionProviderBase()
Public Member Type Definitions
typedef NetInterfaces::TIfStaticFetcher < NetInterfaces::TIfStaticFetcherLinkBase < CCoreMetaConnectionProvider::TIfStaticFetcherNearestInHierarchy , CAgentMetaConnectionProvider , ESock::MQueryConnSettingsApiExt >, CAgentMetaConnectionProvider , ESock::MLinkMCprLegacyDataAccessApiExt > TIfStaticFetcherNearestInHierarchy
Public Attributes
TAny * iReserved
Protected Attributes
CAgentQueryConnSettingsImpl * iQueryConnSettingsImpl
Private Attributes
TBool iAgentMCPrDoneWithIapView
ESock::CCommsDatIapView * iIapView
TInt32 iIapViewRefCount
Inherited Attributes
ESock::CCommsProviderBase::iAccessPointConfig
ESock::CMMCommsProviderBase::iParameterBundle
ESock::CMetaConnectionProviderBase::iBlockingDestroy
ESock::CMetaConnectionProviderBase::iProviderInfo
ESock::CMetaConnectionProviderBase::iTierManager

Constructor & Destructor Documentation

CAgentMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase &, const ESock::TProviderInfo &, const MeshMachine::TNodeActivityMap &)

IMPORT_C CAgentMetaConnectionProvider ( ESock::CMetaConnectionProviderFactoryBase & aFactory,
const ESock::TProviderInfo & aProviderInfo,
const MeshMachine::TNodeActivityMap & aActivityMap
) [protected]

Constructor for the Agent Meta Connection Provider

Parameters

ESock::CMetaConnectionProviderFactoryBase & aFactory The parent factory which created this MCPr
const ESock::TProviderInfo & aProviderInfo
const MeshMachine::TNodeActivityMap & aActivityMap

~CAgentMetaConnectionProvider()

IMPORT_C ~CAgentMetaConnectionProvider ( )

D'tor

Member Functions Documentation

AgentProvisionInfo()

const CAgentProvisionInfo * AgentProvisionInfo ( ) [protected]

Retrieves the Agent Provider specific provisioning information as given by the MCpr transition.

CancelAvailabilityMonitoring()

IMPORT_C void CancelAvailabilityMonitoring ( ) [protected, virtual]

CleanupCloseIapView(TAny *)

IMPORT_C void CleanupCloseIapView ( TAny * aThis ) [protected, static]
The cleanup stack method used to cleanly release the Iap View
Note:

Removal of the item from the cleanup stack may not always cause deletion of the object. It still remains ref counted, and is only releasable once both the ref count has reached zero and the AgentMCPr base class has had a chance to use it for Provisioning.

Parameters

TAny * aThis

CloseIapView()

IMPORT_C void CloseIapView ( ) [protected]
Closes a reference to the Iap View.
Note:

The Iap View may not be deleted after this call. It is only deleted once both the ref count has reached zero and the AgentMCPr base class has had a chance to use it for Provisioning.

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

CreateCredentialsInfoL()

CCredentialsConfig * CreateCredentialsInfoL ( ) [private]

Create the Credentials structure in the Agent Provisioning Info, and populate it with initial values from CommsDat.

Assumes that IapView() has been setup.

DestroyIapView()

void DestroyIapView ( ) [protected]

GetBoolSettingL(const TDesC &, TBool &, ESock::MPlatsecApiExt *)

IMPORT_C void GetBoolSettingL ( const TDesC & aSettingName,
TBool & aValue,
ESock::MPlatsecApiExt * aPlatsecItf
) [virtual]

Parameters

const TDesC & aSettingName
TBool & aValue
ESock::MPlatsecApiExt * aPlatsecItf

GetDes16SettingL(const TDesC &, TDes16 &, ESock::MPlatsecApiExt *)

IMPORT_C void GetDes16SettingL ( const TDesC & aSettingName,
TDes16 & aValue,
ESock::MPlatsecApiExt * aPlatsecItf
) [virtual]

Parameters

const TDesC & aSettingName
TDes16 & aValue
ESock::MPlatsecApiExt * aPlatsecItf

GetDes8SettingL(const TDesC &, TDes8 &, ESock::MPlatsecApiExt *)

IMPORT_C void GetDes8SettingL ( const TDesC & aSettingName,
TDes8 & aValue,
ESock::MPlatsecApiExt * aPlatsecItf
) [virtual]

Parameters

const TDesC & aSettingName
TDes8 & aValue
ESock::MPlatsecApiExt * aPlatsecItf

GetIntSettingL(const TDesC &, TUint32 &, ESock::MPlatsecApiExt *)

IMPORT_C void GetIntSettingL ( const TDesC & aSettingName,
TUint32 & aValue,
ESock::MPlatsecApiExt * aPlatsecItf
) [virtual]

Parameters

const TDesC & aSettingName
TUint32 & aValue
ESock::MPlatsecApiExt * aPlatsecItf

GetIp4Addr(ESock::CCommsDatIapView *, CommsDat::TMDBElementId, TUint32 &)

IMPORT_C TInt GetIp4Addr ( ESock::CCommsDatIapView * aIapView,
CommsDat::TMDBElementId aElementId,
TUint32 & aAddr
) [static]

Parameters

ESock::CCommsDatIapView * aIapView
CommsDat::TMDBElementId aElementId
TUint32 & aAddr

GetIp4AddrL(ESock::CCommsDatIapView *, CommsDat::TMDBElementId, TUint32 &)

IMPORT_C void GetIp4AddrL ( ESock::CCommsDatIapView * aIapView,
CommsDat::TMDBElementId aElementId,
TUint32 & aAddr
) [static]

Parameters

ESock::CCommsDatIapView * aIapView
CommsDat::TMDBElementId aElementId
TUint32 & aAddr

GetIp6Addr(ESock::CCommsDatIapView *, CommsDat::TMDBElementId, TIp6Addr &)

IMPORT_C TInt GetIp6Addr ( ESock::CCommsDatIapView * aIapView,
CommsDat::TMDBElementId aElementId,
TIp6Addr & aAddr
) [static]

Parameters

ESock::CCommsDatIapView * aIapView
CommsDat::TMDBElementId aElementId
TIp6Addr & aAddr

GetIp6AddrL(ESock::CCommsDatIapView *, CommsDat::TMDBElementId, TIp6Addr &)

IMPORT_C void GetIp6AddrL ( ESock::CCommsDatIapView * aIapView,
CommsDat::TMDBElementId aElementId,
TIp6Addr & aAddr
) [static]

Parameters

ESock::CCommsDatIapView * aIapView
CommsDat::TMDBElementId aElementId
TIp6Addr & aAddr

GetLongDesSettingL(const TDesC &, HBufC *&, ESock::MPlatsecApiExt *)

IMPORT_C void GetLongDesSettingL ( const TDesC & aSettingName,
HBufC *& aValue,
ESock::MPlatsecApiExt * aPlatsecItf
) [virtual]

Parameters

const TDesC & aSettingName
HBufC *& aValue
ESock::MPlatsecApiExt * aPlatsecItf

IapView()

IMPORT_C ESock::CCommsDatIapView * IapView ( ) [protected]
Gets a pointer to the current Iap View.
Note:

A call to OpenIapViewL or OpenIapViewLC must be made prior to calling this method to ensure the returned value is valid.

MapFieldNameL(const TDesC &, ESock::MPlatsecApiExt *)

TMDBElementId MapFieldNameL ( const TDesC & aSettingName,
ESock::MPlatsecApiExt * aPlatsecItf
)

Parameters

const TDesC & aSettingName
ESock::MPlatsecApiExt * aPlatsecItf

OpenIapViewL()

IMPORT_C ESock::CCommsDatIapView * OpenIapViewL ( ) [protected]

Opens a ref counted Iap View. This must be closed with a call to CloseIapView once the view has been finished with.

OpenIapViewLC()

IMPORT_C ESock::CCommsDatIapView * OpenIapViewLC ( ) [protected]

Opens a ref counted Iap View adding the returned object to the cleanup stack. This must be closed with a call to CloseIapView once the view has been finished with.

ProvisionAgentInfoL()

void ProvisionAgentInfoL ( ) [private]

ReturnInterfacePtrL(ESock::MLinkMCprLegacyDataAccessApiExt *&)

void ReturnInterfacePtrL ( ESock::MLinkMCprLegacyDataAccessApiExt *& aInterface )

Retrieves the MLinkCprLegacyDataAccessExtApi implementation

Parameters

ESock::MLinkMCprLegacyDataAccessApiExt *& aInterface Pointer to the interface implementation.

ReturnInterfacePtrL(ESock::MQueryConnSettingsApiExt *&)

void ReturnInterfacePtrL ( ESock::MQueryConnSettingsApiExt *& aInterface )

Retrieves the MQueryConnSettingsApiExt implementation

Parameters

ESock::MQueryConnSettingsApiExt *& aInterface Pointer to the interface implementation.

SecondChanceModemBearerLegacyMapFieldNameL(const TDesC &, ESock::MPlatsecApiExt *)

TMDBElementId SecondChanceModemBearerLegacyMapFieldNameL ( const TDesC & aSettingName,
ESock::MPlatsecApiExt * aPlatsecItf
)

Parameters

const TDesC & aSettingName
ESock::MPlatsecApiExt * aPlatsecItf

SetAgentNotificationHandlerL(CAgentNotificationHandler *)

IMPORT_C void SetAgentNotificationHandlerL ( CAgentNotificationHandler * aNotificationHandler ) [protected]

Sets the Agent Notification Handler to be used by the AgentSCPr

Parameters

CAgentNotificationHandler * aNotificationHandler - Pointer to an implementation of the CAgentNotificationHandler class. This must exist for the lifetime of the MCPr.

StartAvailabilityMonitoringL(const Messages::TNodeCtxId &)

IMPORT_C void StartAvailabilityMonitoringL ( const Messages::TNodeCtxId & aAvailabilityActivity ) [protected, virtual]

Parameters

const Messages::TNodeCtxId & aAvailabilityActivity

Member Type Definitions Documentation

Member Data Documentation

TBool iAgentMCPrDoneWithIapView

TBool iAgentMCPrDoneWithIapView [private]

ESock::CCommsDatIapView * iIapView

ESock::CCommsDatIapView * iIapView [private]

TInt32 iIapViewRefCount

TInt32 iIapViewRefCount [private]

CAgentQueryConnSettingsImpl * iQueryConnSettingsImpl

CAgentQueryConnSettingsImpl * iQueryConnSettingsImpl [protected]

TAny * iReserved

TAny * iReserved