ESock::CSubConnectionFlowFactoryBase Class Reference

class ESock::CSubConnectionFlowFactoryBase : public ESock::CCommsFactoryBase

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

Since 9.2

Inherits from

Public Member Functions
~CSubConnectionFlowFactoryBase ()
IMPORT_C TServerProtocolDesc * CreateFlowDescriptionL ( TInt )
Protected Member Functions
CSubConnectionFlowFactoryBase ( TUid , CSubConnectionFlowFactoryContainer &)
IMPORT_C CProtocolIntfFactoryBase * CreateProtocolIntfFactoryL ( CProtocolIntfFactoryContainer &)
IMPORT_C TServerProtocolDesc * DoCreateFlowDescriptionL ( TInt )
CSubConnectionFlowBase * DoCreateFlowL ( CProtocolIntfBase *, TFactoryQueryBase &)
IMPORT_C ACommsFactoryNodeId * DoCreateObjectL ( TFactoryQueryBase &)
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()
ESock::CCommsFactoryBase::CCommsFactoryBase(TUid,CCommsFactoryContainer &)
ESock::CCommsFactoryBase::CreateObjectL(TFactoryQueryBase &)
ESock::CCommsFactoryBase::DoFindOrCreateObjectL(TFactoryQueryBase &)
ESock::CCommsFactoryBase::DoPostCreationL(ACommsFactoryNodeId *,TFactoryQueryBase &)
ESock::CCommsFactoryBase::DoReceiveMessage(NetMessages::CMessage &)
ESock::CCommsFactoryBase::Find(Factories::MFactoryQuery &)
ESock::CCommsFactoryBase::FindOrCreateObjectL(TFactoryQueryBase &)
ESock::CCommsFactoryBase::SendMessage(NetMessages::CMessage &)
ESock::CCommsFactoryBase::~CCommsFactoryBase()
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

CSubConnectionFlowFactoryBase(TUid, CSubConnectionFlowFactoryContainer &)

IMPORT_C CSubConnectionFlowFactoryBase ( TUid aFactoryId,
CSubConnectionFlowFactoryContainer & aParentContainer
) [protected]

Parameters

TUid aFactoryId
CSubConnectionFlowFactoryContainer & aParentContainer

~CSubConnectionFlowFactoryBase()

IMPORT_C ~CSubConnectionFlowFactoryBase ( ) [virtual]

Member Functions Documentation

CreateFlowDescriptionL(TInt)

IMPORT_C TServerProtocolDesc * CreateFlowDescriptionL ( TInt aProtocol )

Obtain protocol description of the flow - caller takes custody

Parameters

TInt aProtocol Protocol id of the flow type for which a description is being requested.

CreateProtocolIntfFactoryL(CProtocolIntfFactoryContainer &)

IMPORT_C CProtocolIntfFactoryBase * CreateProtocolIntfFactoryL ( CProtocolIntfFactoryContainer & aParentContainer ) [protected, virtual]

Override this to provide your own implementation of the ProtocolInft factory.

Parameters

CProtocolIntfFactoryContainer & aParentContainer The protocol factory container 'this' is expected to insert self to

DoCreateFlowDescriptionL(TInt)

IMPORT_C TServerProtocolDesc * DoCreateFlowDescriptionL ( TInt aProtocol ) [protected, virtual]

Override this to provide flow specific "protocol" description

Parameters

TInt aProtocol Protocol id of the flow type for which a description is being requested.

DoCreateFlowL(CProtocolIntfBase *, TFactoryQueryBase &)

CSubConnectionFlowBase * DoCreateFlowL ( CProtocolIntfBase * aProtocolIntf,
TFactoryQueryBase & aQuery
) [protected, pure virtual]

Parameters

CProtocolIntfBase * aProtocolIntf
TFactoryQueryBase & aQuery

DoCreateObjectL(TFactoryQueryBase &)

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

Override this to provide your own implementation for creating a flow

Parameters

TFactoryQueryBase & aQuery