ESock::CConnectionProviderFactoryBase Class Reference

#include <comms-infras/ss_connprov.h>

class ESock::CConnectionProviderFactoryBase
Protected Attributes
TInternalData *iInternalData
Public Member Functions
virtual ~CConnectionProviderFactoryBase()
IMPORT_C ACommsFactoryNodeId *CreateL(TFactoryQueryBase &)
IMPORT_C CConnectionProviderFactoryBase *NewL(const TDesC8 &, CConnectionFactoryContainer &)
Protected Member Functions
CConnectionProviderFactoryBase(TUid, CConnectionFactoryContainer &)
virtual IMPORT_C ACommsFactoryNodeId *DoCreateObjectL(TFactoryQueryBase &)
IMPORT_C ACommsFactoryNodeId *DoFindOrCreateObjectL(TFactoryQueryBase &)

Detailed Description

Base class for all connection provider factories. Specifies the interface that all connection provider factories must implement. It also providers the ECOM framework (via CCommsFactoryBase) to load connection provider factories from other Dynamic Linked Libraries.

Since 9.1

Member Attribute Documentation

iInternalData

TInternalData *iInternalData[protected]

Constructor & Destructor Documentation

CConnectionProviderFactoryBase ( TUid, CConnectionFactoryContainer & )

IMPORT_CCConnectionProviderFactoryBase(TUidaFactoryId,
CConnectionFactoryContainer &aParentContainer
)[protected]

connection provider factory constructor

Parameters
aFactoryIdUnique Integer Identifier of the connection provider factory
aParentContainerContainer to add the factory to

~CConnectionProviderFactoryBase ( )

IMPORT_C~CConnectionProviderFactoryBase()[virtual]

Empty connection factory base destructor

Member Function Documentation

CreateL ( TFactoryQueryBase & )

IMPORT_C ACommsFactoryNodeId *CreateL(TFactoryQueryBase &aQuery)

Create a new instance of connection provider

Return Value
Pointer to the created connection provider or NULL if there's a failure

DoCreateObjectL ( TFactoryQueryBase & )

IMPORT_C ACommsFactoryNodeId *DoCreateObjectL(TFactoryQueryBase &aQuery)[protected, virtual]

Override this to create a new instance of CConnectionProviderBase

Exceptions
Leaves

in out of memory conditions

Return Value
Pointer to the newly created provider

DoFindOrCreateObjectL ( TFactoryQueryBase & )

IMPORT_C ACommsFactoryNodeId *DoFindOrCreateObjectL(TFactoryQueryBase &aQuery)[protected]

NewL ( const TDesC8 &, CConnectionFactoryContainer & )

IMPORT_C CConnectionProviderFactoryBase *NewL(const TDesC8 &aName,
CConnectionFactoryContainer &aParentContainer
)[static]