UpsCprActivities::CDeferredCtrlClientJoinActivity Class Reference

class UpsCprActivities::CDeferredCtrlClientJoinActivity : public MeshMachine::CNodeParallelActivityBase

Class used to implement a control client join activity that needs to be deferred until after some authorisation has taken place.

Main purpose is to temporarily store the client id whilst a derived class performs the authorisation. Then, if all goes well, the control client is added and a a join complete message sent to the originator(s). Note that this class is not UPS specific.

Inherits from

Public Member Functions
const Messages::TNodeId &Client()
DECLARE_SMELEMENT_FOOTER(TStoreControlClient)
TContext virtual IMPORT_C voidDoL()
EXPORT_DECLARE_SMELEMENT_HEADER(TStoreControlClient, MeshMachine::TStateTransition< TContext >, NetStateMachine::MStateTransition, TContext)
IMPORT_C MeshMachine::CNodeActivityBase *NewL(const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &)
voidSetClient(const Messages::TNodeId &)
voidSetFlags(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 &)
Public Member Type Definitions
typedef MeshMachine::TNodeContext< ESock::CMMCommsProviderBase, PRStates::TContext, CDeferredCtrlClientJoinActivity > TContext
Private Attributes
Messages::TNodeId iClient
TInt iFlags
Inherited Attributes
MeshMachine::CNodeActivityBase::iNode
MeshMachine::CNodeActivityBase::iOriginators
MeshMachine::CNodeParallelActivityBase::iActivityId

Member Functions Documentation

Client()

const Messages::TNodeId &Client()

DECLARE_SMELEMENT_FOOTER(TStoreControlClient)

DECLARE_SMELEMENT_FOOTER(TStoreControlClient)

Parameters

TStoreControlClient

DoL()

TContext virtual IMPORT_C voidDoL()[virtual]

EXPORT_DECLARE_SMELEMENT_HEADER(TStoreControlClient, MeshMachine::TStateTransition< TContext >, NetStateMachine::MStateTransition, TContext)

EXPORT_DECLARE_SMELEMENT_HEADER(TStoreControlClient,
MeshMachine::TStateTransition< TContext >,
NetStateMachine::MStateTransition,
TContext
)

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.

SetClient(const Messages::TNodeId &)

voidSetClient(const Messages::TNodeId &aCommsId)

Parameters

const Messages::TNodeId & aCommsId

SetFlags(TInt)

voidSetFlags(TIntaFlags)

Parameters

TInt aFlags

Member Type Definitions Documentation

Member Data Documentation

Messages::TNodeId iClient

Messages::TNodeId iClient[private]

TInt iFlags

TInt iFlags[private]