CBindInfo Class Reference

class CBindInfo : public CBase

Stores details about an individual binding between two modules, including the binding state and any errors associated with it.

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CBindInfo(const TRSBindType, const TCFSubModuleAddress &, const TCFSubModuleAddress &)

CBindInfo(const TRSBindTypeaType,
const TCFSubModuleAddress &aSubModule1,
const TCFSubModuleAddress &aSubModule2
)[private]

Parameters

const TRSBindType aType
const TCFSubModuleAddress & aSubModule1
const TCFSubModuleAddress & aSubModule2

~CBindInfo()

~CBindInfo()

Destructor for CBindInfo

Member Functions Documentation

BindType()

const TRSBindType &BindType()const

Accessor method for the binding type

Channel1()

const RCFChannel &Channel1()const

Accessor method for first RCFChannel in binding

Channel2()

const RCFChannel &Channel2()const

Accessor method for second RCFChannel in binding

ConstructL(TInt, TInt)

voidConstructL(TIntaChannel1Length,
TIntaChannel2Length
)

Second phase constructor for CBindInfo

leave

Parameters

TInt aChannel1Length
TInt aChannel2Length

Dequeue()

voidDequeue()

Remove this from the linked list

NewL(const TRSBindType, const TCFSubModuleAddress &, const TCFSubModuleAddress &, TInt, TInt)

CBindInfo *NewL(const TRSBindTypeaType,
const TCFSubModuleAddress &aSubModule1,
const TCFSubModuleAddress &aSubModule2,
TIntaChannel1Length,
TIntaChannel2Length
)[static]

Parameters

const TRSBindType aType
const TCFSubModuleAddress & aSubModule1
const TCFSubModuleAddress & aSubModule2
TInt aChannel1Length
TInt aChannel2Length

Result1()

TInt Result1()const

Accessor method for result code of first submodule in the binding

Result2()

TInt Result2()const

Accessor method for result code of second submodule in the binding

SetResult1(const TInt)

voidSetResult1(const TIntaResult)

Set method for result code of first submodule in the binding

Parameters

const TInt aResultthe new result code

SetResult2(const TInt)

voidSetResult2(const TIntaResult)

Set method for result code of second submodule in the binding

Parameters

const TInt aResultthe new result code

SetState1(const CBindManager::TBMBindState)

voidSetState1(const CBindManager::TBMBindStateaState)

Set method for state of first submodule in the binding

Parameters

const CBindManager::TBMBindState aStatenew state

SetState2(const CBindManager::TBMBindState)

voidSetState2(const CBindManager::TBMBindStateaState)

Set method for state of second submodule in the binding

Parameters

const CBindManager::TBMBindState aStatenew state

State1()

CBindManager::TBMBindState State1()const

Accessor method for state of first submodule in the binding

State2()

CBindManager::TBMBindState State2()const

Accessor method for state of second submodule in the binding

SubModuleAddr1()

const TCFSubModuleAddress &SubModuleAddr1()const

Accessor method for first submodule address in the binding

SubModuleAddr2()

const TCFSubModuleAddress &SubModuleAddr2()const

Accessor method for second submodule address in the binding

TaskCompleted(const CTask &, const TInt)

voidTaskCompleted(const CTask &aTask,
const TIntaStatus
)

Method called when a task has completed and therefore the state of the binding may need updating

Parameters

const CTask & aTaskthe task that has completed
const TInt aStatusthe status code the task returned

Member Data Documentation

RCFChannel iChannel1

RCFChannel iChannel1[private]

RCFChannel iChannel2

RCFChannel iChannel2[private]

TDblQueLink iLink

TDblQueLink iLink

TSubModuleDetails iSubModule1

TSubModuleDetails iSubModule1[private]

TSubModuleDetails iSubModule2

TSubModuleDetails iSubModule2[private]

TRSBindType iType

TRSBindType iType[private]