PRActivities::CBindToActivity Class Reference

class PRActivities::CBindToActivity : public MeshMachine::CNodeParallelActivityBase
Public Member Functions
~CBindToActivity()
voidAddClientAsSuccessfulL(Messages::RNodeInterface *)
Messages::RNodeInterface *CurrentDataClient()
TBool DataClientsAutocommit()
TBool IsAutocommit()
IMPORT_C MeshMachine::CNodeActivityBase *NewL(const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &)
Messages::RNodeInterface *NextDataClient()
voidRemoveClientFromSuccessful(Messages::RNodeInterface *)
voidResetCurrentDataClient()
voidReturnInterfacePtrL(CoreActivities::ABindingActivity *&)
voidSetAutocommit(TBool)
voidSetDontLeaveServiceProvider()
TBool ShouldLeaveServiceProvider()
Protected Member Functions
CBindToActivity(const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &, TInt)
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()
MeshMachine::CNodeActivityBase::Abort(TNodeContextBase &,TBool)
MeshMachine::CNodeActivityBase::Accept(TNodeContextBase &,const TNodeActivity &,TInt)
MeshMachine::CNodeActivityBase::ActivitySigId()const
MeshMachine::CNodeActivityBase::AppendActivityL()
MeshMachine::CNodeActivityBase::AppendPreallocatedActivity()
MeshMachine::CNodeActivityBase::BorrowPreallocatedSpace(AMMNodeBase &,TUint)
MeshMachine::CNodeActivityBase::CNodeActivityBase(const TNodeActivity &,AMMNodeBase &)
MeshMachine::CNodeActivityBase::Cancel(TNodeContextBase &)
MeshMachine::CNodeActivityBase::ClearPostedTo()
MeshMachine::CNodeActivityBase::Destroy()
MeshMachine::CNodeActivityBase::DoFetchInterfaceControlL(TInt)
MeshMachine::CNodeActivityBase::Error()const
MeshMachine::CNodeActivityBase::FindOriginator(const Messages::RNodeInterface &)const
MeshMachine::CNodeActivityBase::FindOriginator(const Messages::TNodePeerId &)const
MeshMachine::CNodeActivityBase::FindOriginator(const Messages::TRuntimeCtxId &)const
MeshMachine::CNodeActivityBase::FirstOriginator()const
MeshMachine::CNodeActivityBase::InsertPreallocatedDestroyActivity()
MeshMachine::CNodeActivityBase::IsIdle()const
MeshMachine::CNodeActivityBase::KickOffMessageId()const
MeshMachine::CNodeActivityBase::MatchSender(const TNodeContextBase &)const
MeshMachine::CNodeActivityBase::Next(TNodeContextBase &)
MeshMachine::CNodeActivityBase::PostRequestTo(const Messages::RNodeInterface &,const Messages::TSignalBase &,const TBool)
MeshMachine::CNodeActivityBase::PostRequestTo(const Messages::TNodeId &,const Messages::TSignalBase &,const TBool)
MeshMachine::CNodeActivityBase::PostToOriginator(const Messages::TNodePeerId &,const Messages::TSignalBase &)const
MeshMachine::CNodeActivityBase::PostToOriginators(const Messages::TSignalBase &,TUint32,TUint32)
MeshMachine::CNodeActivityBase::PostedToNodeId()const
MeshMachine::CNodeActivityBase::PostedToPeer()const
MeshMachine::CNodeActivityBase::RemoveOriginator(TInt)
MeshMachine::CNodeActivityBase::ReturnPreallocatedSpace(TAny *)
MeshMachine::CNodeActivityBase::SetError(TInt)
MeshMachine::CNodeActivityBase::SetIdle()
MeshMachine::CNodeActivityBase::SetPostedTo(const Messages::RNodeInterface &)
MeshMachine::CNodeActivityBase::SetPostedTo(const Messages::TNodeId &)
MeshMachine::CNodeActivityBase::Signal(TNodeContextBase &)
MeshMachine::CNodeActivityBase::SoleOriginator()const
MeshMachine::CNodeActivityBase::StartL(TNodeContextBase &,const Messages::XNodePeerId &,const NetStateMachine::TStateTriple &)
MeshMachine::CNodeActivityBase::~CNodeActivityBase()
MeshMachine::CNodeParallelActivityBase::ActivityId()const
MeshMachine::CNodeParallelActivityBase::CNodeParallelActivityBase(const TNodeActivity &,AMMNodeBase &,TUint)
MeshMachine::CNodeParallelActivityBase::GetNextActivityCount(const TNodeActivity &,const AMMNodeBase &)
MeshMachine::CNodeParallelActivityBase::GetNextActivityCountL(const TNodeActivity &,const AMMNodeBase &)
Private Member Enumerations
enumanonymous { EAutocommit = 0x01, EDontLeaveServiceProvider = 0x02 }
Public Member Type Definitions
typedef NetInterfaces::TIfStaticFetcher< NetInterfaces::TIfStaticFetcherFirstInHierarchy< NetInterfaces::TInterfaceControl >, CBindToActivity, CoreActivities::ABindingActivity > TIfStaticFetcherNearestInHierarchy
Protected Member Type Definitions
typedef MeshMachine::TNodeContext< ESock::CMMCommsProviderBase, CoreNetStates::TContext > TContext
Protected Attributes
Messages::TNodeId iNewServiceProvider
Private Attributes
Messages::RNodeInterface *iCurrentDataClient
TInt iFlags
RPointerArray< Messages::RNodeInterface >iSuccessfulDataClients
Inherited Attributes
MeshMachine::CNodeActivityBase::iNode
MeshMachine::CNodeActivityBase::iOriginators
MeshMachine::CNodeParallelActivityBase::iActivityId

Constructor & Destructor Documentation

CBindToActivity(const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &, TInt)

IMPORT_CCBindToActivity(const MeshMachine::TNodeActivity &aActivitySig,
MeshMachine::AMMNodeBase &aNode,
TIntaNextActivityCount
)[protected]

Parameters

const MeshMachine::TNodeActivity & aActivitySig
MeshMachine::AMMNodeBase & aNode
TInt aNextActivityCount

~CBindToActivity()

IMPORT_C~CBindToActivity()[virtual]

Member Functions Documentation

AddClientAsSuccessfulL(Messages::RNodeInterface *)

voidAddClientAsSuccessfulL(Messages::RNodeInterface *aDataClient)

Parameters

Messages::RNodeInterface * aDataClient

CurrentDataClient()

Messages::RNodeInterface *CurrentDataClient()[inline]

DataClientsAutocommit()

TBool DataClientsAutocommit()

IsAutocommit()

TBool IsAutocommit()[inline]

NewL(const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &)

IMPORT_C MeshMachine::CNodeActivityBase *NewL(const MeshMachine::TNodeActivity &aActivitySig,
MeshMachine::AMMNodeBase &aNode
)[static]

Create a new activity. This should never be called by user code.

Parameters

const MeshMachine::TNodeActivity & aActivitySigContext information about how the activity is to be started
MeshMachine::AMMNodeBase & aNodeThe node to which this activity will belong.

NextDataClient()

Messages::RNodeInterface *NextDataClient()

RemoveClientFromSuccessful(Messages::RNodeInterface *)

voidRemoveClientFromSuccessful(Messages::RNodeInterface *aDataClient)

Parameters

Messages::RNodeInterface * aDataClient

ResetCurrentDataClient()

voidResetCurrentDataClient()[inline]

ReturnInterfacePtrL(CoreActivities::ABindingActivity *&)

voidReturnInterfacePtrL(CoreActivities::ABindingActivity *&aInterface)[inline]

Parameters

CoreActivities::ABindingActivity *& aInterface

SetAutocommit(TBool)

voidSetAutocommit(TBoolaValue)[inline]

Parameters

TBool aValue

SetDontLeaveServiceProvider()

voidSetDontLeaveServiceProvider()[inline]

ShouldLeaveServiceProvider()

TBool ShouldLeaveServiceProvider()[inline]

Member Enumerations Documentation

Enum anonymous

Enumerators

EAutocommit = 0x01
EDontLeaveServiceProvider = 0x02

Member Type Definitions Documentation

Typedef TContext

typedef MeshMachine::TNodeContext< ESock::CMMCommsProviderBase, CoreNetStates::TContext >TContext[protected]

Member Data Documentation

Messages::RNodeInterface * iCurrentDataClient

Messages::RNodeInterface *iCurrentDataClient[private]

TInt iFlags

TInt iFlags[private]

Messages::TNodeId iNewServiceProvider

Messages::TNodeId iNewServiceProvider[protected]

RPointerArray< Messages::RNodeInterface > iSuccessfulDataClients

RPointerArray< Messages::RNodeInterface >iSuccessfulDataClients[private]