ESock::CCommsFactoryContainer Class Reference

class ESock::CCommsFactoryContainer : public Factories::CFactoryContainerNode

Comms Factory Factory Container class is used to store comms factorys of a specific type. e.g. sub-connection provider factories. It provides basic functionality to find, add and remove factories. It has basic functionality to create a factory object. If a container wants to do more than just creating a factory object it should specialise the CCommsFactoryContainer

Since 9.0

Public Member Functions
IMPORT_C ACommsFactoryNodeId *Find(Factories::MFactoryQuery &)
IMPORT_C Factories::CFactoryBase *FindOrCreateFactoryL(TUid)
CCommsFactoryContainer *NewL(TContaineeType)
Protected Member Functions
CCommsFactoryContainer(TContaineeType)
Factories::CFactoryBase *CreateFactoryL(TUid)
ACommsFactoryNodeId *CreateFactoryObjectNodeL(Messages::TSignatureBase &)
voidReceivedL(const Messages::TRuntimeCtxId &, const Messages::TNodeId &, Messages::TSignatureBase &)
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()
Factories::CFactoryContainer::AddL(CFactoryBase &)
Factories::CFactoryContainer::CFactoryContainer()
Factories::CFactoryContainer::Factory(TInt)const
Factories::CFactoryContainer::FetchNodeInterfaceControlL(TInt)
Factories::CFactoryContainer::FindFactory(TUid)const
Factories::CFactoryContainer::FindObject(MFactoryQuery &)const
Factories::CFactoryContainer::RegisterNotifierL(TUid,const IFactoryNotify &)
Factories::CFactoryContainer::~CFactoryContainer()
Factories::CFactoryContainerNode::CFactoryContainerNode()
Factories::CFactoryContainerNode::~CFactoryContainerNode()
Protected Member Enumerations
enumTContaineeType {
EUnknown = 0, ETierManagerFactoryContainer, EMetaConnectionFactoryContainer, EConnectionFactoryContainer, ESubConnectionFactoryContainer, ESubConnectionFlowFactoryContainer, EProtocolIntfFactoryContainer, EProtocolFamilyFactoryContainer
}
Public Attributes
const TContaineeTypeiId

Constructor & Destructor Documentation

CCommsFactoryContainer(TContaineeType)

CCommsFactoryContainer(TContaineeTypeaId = EUnknown)[protected]

Parameters

TContaineeType aId = EUnknown

Member Functions Documentation

CreateFactoryL(TUid)

Factories::CFactoryBase *CreateFactoryL(TUidaUid)[protected]

Parameters

TUid aUid

CreateFactoryObjectNodeL(Messages::TSignatureBase &)

ACommsFactoryNodeId *CreateFactoryObjectNodeL(Messages::TSignatureBase &aMessage)[protected]

Parameters

Messages::TSignatureBase & aMessage

Find(Factories::MFactoryQuery &)

IMPORT_C ACommsFactoryNodeId *Find(Factories::MFactoryQuery &aQuery)

Parameters

Factories::MFactoryQuery & aQuery

FindOrCreateFactoryL(TUid)

IMPORT_C Factories::CFactoryBase *FindOrCreateFactoryL(TUidaUid)

Parameters

TUid aUid

NewL(TContaineeType)

CCommsFactoryContainer *NewL(TContaineeTypeaId)[static]

Parameters

TContaineeType aId

ReceivedL(const Messages::TRuntimeCtxId &, const Messages::TNodeId &, Messages::TSignatureBase &)

voidReceivedL(const Messages::TRuntimeCtxId &aSender,
const Messages::TNodeId &aRecipient,
Messages::TSignatureBase &aMessage
)[protected, virtual]

Parameters

const Messages::TRuntimeCtxId & aSender
const Messages::TNodeId & aRecipient
Messages::TSignatureBase & aMessage

Member Enumerations Documentation

Enum TContaineeType

Enumerators

EUnknown = 0
ETierManagerFactoryContainer
EMetaConnectionFactoryContainer
EConnectionFactoryContainer
ESubConnectionFactoryContainer
ESubConnectionFlowFactoryContainer
EProtocolIntfFactoryContainer
EProtocolFamilyFactoryContainer

Member Data Documentation

const TContaineeType iId

const TContaineeTypeiId