ESock::CCommsFactoryBase Class Reference

class ESock::CCommsFactoryBase : public Factories::CFactoryBase

Comms Factory Base class (Specialised by sub-connection provider factories and other provider factories in future. It provides basic object managment functionlity and the ability for a factory to be load from another Dynamic Linked Library via the ECOM framework.

It also provides asynchronous destruction for it's managed objects (if required) but also copes with synchronous destruction, should a managed object get deleted by another entity.

Since 9.0

Inherits from

Public Member Functions
~CCommsFactoryBase ()
IMPORT_C ACommsFactoryNodeId * CreateObjectL ( TFactoryQueryBase &)
IMPORT_C ACommsFactoryNodeId * Find ( Factories::MFactoryQuery &)
IMPORT_C ACommsFactoryNodeId * FindOrCreateObjectL ( TFactoryQueryBase &)
IMPORT_C TInt SendMessage ( NetMessages::CMessage &)
Protected Member Functions
CCommsFactoryBase ( TUid , CCommsFactoryContainer &)
ACommsFactoryNodeId * DoCreateObjectL ( TFactoryQueryBase &)
IMPORT_C ACommsFactoryNodeId * DoFindOrCreateObjectL ( TFactoryQueryBase &)
IMPORT_C void DoPostCreationL ( ACommsFactoryNodeId *, TFactoryQueryBase &)
IMPORT_C TInt DoReceiveMessage ( NetMessages::CMessage &)
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::CFactoryBase::AddManagedObjectL(AFactoryObject &)
Factories::CFactoryBase::CFactoryBase(TUid,CFactoryContainer &)
Factories::CFactoryBase::ConstructL()
Factories::CFactoryBase::ConstructL(const TUid &)
Factories::CFactoryBase::DeRegisterNotifier(const IFactoryNotify &)
Factories::CFactoryBase::FindObject(MFactoryQuery &)const
Factories::CFactoryBase::ManagedObjectBeingDeleted(AFactoryObject &)
Factories::CFactoryBase::NewL(const TDesC8 &,const TUid &,CFactoryContainer &)
Factories::CFactoryBase::NewL(const TUid &,CFactoryContainer &)
Factories::CFactoryBase::ParentContainer()
Factories::CFactoryBase::RegisterNotifierL(const IFactoryNotify &)
Factories::CFactoryBase::RemoveManagedObject(AFactoryObject &)
Factories::CFactoryBase::Uid()const
Factories::CFactoryBase::~CFactoryBase()
Inherited Attributes
Factories::CFactoryBase::iFactoryNotify

Constructor & Destructor Documentation

CCommsFactoryBase(TUid, CCommsFactoryContainer &)

IMPORT_C CCommsFactoryBase ( TUid aFactoryUid,
CCommsFactoryContainer & aParentContainer
) [protected]

Parameters

TUid aFactoryUid
CCommsFactoryContainer & aParentContainer

~CCommsFactoryBase()

IMPORT_C ~CCommsFactoryBase ( ) [virtual]

Member Functions Documentation

CreateObjectL(TFactoryQueryBase &)

IMPORT_C ACommsFactoryNodeId * CreateObjectL ( TFactoryQueryBase & aQuery )

Parameters

TFactoryQueryBase & aQuery

DoCreateObjectL(TFactoryQueryBase &)

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

Parameters

TFactoryQueryBase & aQuery

DoFindOrCreateObjectL(TFactoryQueryBase &)

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

Parameters

TFactoryQueryBase & aQuery

DoPostCreationL(ACommsFactoryNodeId *, TFactoryQueryBase &)

IMPORT_C void DoPostCreationL ( ACommsFactoryNodeId * aObject,
TFactoryQueryBase & aQuery
) [protected, virtual]

Parameters

ACommsFactoryNodeId * aObject
TFactoryQueryBase & aQuery

DoReceiveMessage(NetMessages::CMessage &)

IMPORT_C TInt DoReceiveMessage ( NetMessages::CMessage & aNetMessage ) [protected, virtual]

Parameters

NetMessages::CMessage & aNetMessage

Find(Factories::MFactoryQuery &)

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

Parameters

Factories::MFactoryQuery & aQuery

FindOrCreateObjectL(TFactoryQueryBase &)

IMPORT_C ACommsFactoryNodeId * FindOrCreateObjectL ( TFactoryQueryBase & aQuery )

Parameters

TFactoryQueryBase & aQuery

SendMessage(NetMessages::CMessage &)

IMPORT_C TInt SendMessage ( NetMessages::CMessage & aNetMessage )

Parameters

NetMessages::CMessage & aNetMessage