MobilityCprActivities::CMobilityActivity Class Reference

class MobilityCprActivities::CMobilityActivity : public MeshMachine::CNodeRetryActivity

Inherits from

Public Member Functions
~CMobilityActivity()
voidCancel(MeshMachine::TNodeContextBase &)
MeshMachine::CNodeActivityBase *NewL(const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &)
voidSetResponder(ESock::CCommsApiExtResponder &)
Protected Member Functions
CMobilityActivity(const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &)
voidStartL(MeshMachine::TNodeContextBase &, const Messages::XNodePeerId &, const NetStateMachine::TStateTriple &)
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::ActivityId()const
MeshMachine::CNodeActivityBase::ActivitySigId()const
MeshMachine::CNodeActivityBase::AppendActivityL()
MeshMachine::CNodeActivityBase::AppendPreallocatedActivity()
MeshMachine::CNodeActivityBase::BorrowPreallocatedSpace(AMMNodeBase &,TUint)
MeshMachine::CNodeActivityBase::CNodeActivityBase(const TNodeActivity &,AMMNodeBase &)
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::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::SetPostedTo(const Messages::RNodeInterface &)
MeshMachine::CNodeActivityBase::SetPostedTo(const Messages::TNodeId &)
MeshMachine::CNodeActivityBase::SoleOriginator()const
MeshMachine::CNodeActivityBase::~CNodeActivityBase()
MeshMachine::CNodeRetryActivity::CNodeRetryActivity(const TNodeActivity &,AMMNodeBase &)
MeshMachine::CNodeRetryActivity::IsIdle()const
MeshMachine::CNodeRetryActivity::ReturnInterfacePtrL(AActivitySemaphore *&)
MeshMachine::CNodeRetryActivity::ReturnInterfacePtrL(AContextStore *&)
MeshMachine::CNodeRetryActivity::SetIdle()
MeshMachine::CNodeRetryActivity::Signal(TNodeContextBase &)
Public Member Type Definitions
typedef MeshMachine::TSerializableStateFork< CMobilityActivity::TMobilityClientNotReadyMutex, TNoTagBackwardsOrRecoverableErrorOrError > TNoTagBackwardsOrRecoverableErrorOrErrorBlockedByClientNotReady
typedef MeshMachine::TSerializableStateFork< CMobilityActivity::TMobilityClientNotReadyMutex, MeshMachine::TNoTagOrErrorTag > TNoTagOrErrorTagBlockedByClientNotReady
typedef MeshMachine::TSerializableStateFork< CMobilityActivity::TMobilityClientNotReadyMutex, MeshMachine::TErrorTagOr< MeshMachine::TTag< KStartHandshake|NetStateMachine::EForward > > > TStartHandshakeOrErrorTagBlockedByClientNotReady
Protected Member Type Definitions
typedef MeshMachine::TNodeContext< CMobilityConnectionProvider, CprStates::TContext > TContext
Public Attributes
const TIntKStartHandshake
const TIntKWaitForMobility
TSubSessionUniqueId iClientId
TUint iCurrentAp
TBool iIsUpgrade
TUint iPreferredAp
ESock::CCommsApiExtResponder *iResponder
Inherited Attributes
MeshMachine::CNodeActivityBase::iNode
MeshMachine::CNodeActivityBase::iOriginators

Constructor & Destructor Documentation

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

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

Parameters

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

~CMobilityActivity()

~CMobilityActivity()

Member Functions Documentation

Cancel(MeshMachine::TNodeContextBase &)

voidCancel(MeshMachine::TNodeContextBase &aContext)[virtual]

Cancels the activity. Only to be called by the meshmachine.

Parameters

MeshMachine::TNodeContextBase & aContextthe context in which the activity is being executed

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

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.

SetResponder(ESock::CCommsApiExtResponder &)

voidSetResponder(ESock::CCommsApiExtResponder &aResponder)

Parameters

ESock::CCommsApiExtResponder & aResponder

StartL(MeshMachine::TNodeContextBase &, const Messages::XNodePeerId &, const NetStateMachine::TStateTriple &)

voidStartL(MeshMachine::TNodeContextBase &aContext,
const Messages::XNodePeerId &aOriginator,
const NetStateMachine::TStateTriple &aFirst
)[protected, virtual]

Start a new activity. The first transition should have been run within the Accept() method before this is called.

Parameters

MeshMachine::TNodeContextBase & aContextThe context to start the activity in
const Messages::XNodePeerId & aOriginatorThe peer that requires this activity to start
const NetStateMachine::TStateTriple & aFirstFirst entry triple in the activity, as returned by Accept()

Member Type Definitions Documentation

Typedef TContext

typedef MeshMachine::TNodeContext< CMobilityConnectionProvider, CprStates::TContext >TContext[protected]

Typedef TNoTagBackwardsOrRecoverableErrorOrErrorBlockedByClientNotReady

typedef MeshMachine::TSerializableStateFork< CMobilityActivity::TMobilityClientNotReadyMutex, TNoTagBackwardsOrRecoverableErrorOrError >TNoTagBackwardsOrRecoverableErrorOrErrorBlockedByClientNotReady

Typedef TNoTagOrErrorTagBlockedByClientNotReady

typedef MeshMachine::TSerializableStateFork< CMobilityActivity::TMobilityClientNotReadyMutex, MeshMachine::TNoTagOrErrorTag >TNoTagOrErrorTagBlockedByClientNotReady

Typedef TStartHandshakeOrErrorTagBlockedByClientNotReady

typedef MeshMachine::TSerializableStateFork< CMobilityActivity::TMobilityClientNotReadyMutex, MeshMachine::TErrorTagOr< MeshMachine::TTag< KStartHandshake|NetStateMachine::EForward > > >TStartHandshakeOrErrorTagBlockedByClientNotReady

Member Data Documentation

const TInt KStartHandshake

const TIntKStartHandshake[static]

const TInt KWaitForMobility

const TIntKWaitForMobility[static]

TSubSessionUniqueId iClientId

TSubSessionUniqueId iClientId

TUint iCurrentAp

TUint iCurrentAp

TBool iIsUpgrade

TBool iIsUpgrade

TUint iPreferredAp

TUint iPreferredAp

ESock::CCommsApiExtResponder * iResponder

ESock::CCommsApiExtResponder *iResponder