ESock::CProtocolFamilyFactoryBase Class Reference

class ESock::CProtocolFamilyFactoryBase

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

Since 9.1

Constructor & Destructor Documentation

CProtocolFamilyFactoryBase(TUid, CProtocolFamilyFactoryContainer &)

IMPORT_CCProtocolFamilyFactoryBase(TUidaFactoryId,
CProtocolFamilyFactoryContainer &aParentContainer
)[protected]

Sub-connection provider factory constructor

Parameters

TUid aFactoryIdUnique Integer Identifier of the factory
CProtocolFamilyFactoryContainer & aParentContainerContainer to add the factory to

Member Functions Documentation

DoCreateObjectL(TFactoryQueryBase &)

IMPORT_C ACommsFactoryNodeId *DoCreateObjectL(TFactoryQueryBase &aQuery)[private]

Parameters

TFactoryQueryBase & aQuery

FindProtocol(TUint)

IMPORT_C CProtocolBase *FindProtocol(TUintaProtocolId)

Parameters

TUint aProtocolId

NewL(const TDesC8 &, CProtocolFamilyFactoryContainer &)

IMPORT_C CProtocolFamilyFactoryBase *NewL(const TDesC8 &aName,
CProtocolFamilyFactoryContainer &aParentContainer
)[static]
Create a new instance of a protocol family Factory (Uses the base class that uses ECOM to load the DLL that implements the specialised protocol family factory
Exceptions
KErrNoMemory

in out of memory conditions or KErrNotFound if the DLL cannot be found

Parameters

const TDesC8 & aNameUnique String Identifier of the desired factory implementation
CProtocolFamilyFactoryContainer & aParentContainerContainer to add the factory to