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.
Public Member Functions | |
---|---|
const Messages::TNodeId & | Client() |
DECLARE_SMELEMENT_FOOTER(TStoreControlClient) | |
TContext virtual IMPORT_C void | DoL() |
EXPORT_DECLARE_SMELEMENT_HEADER(TStoreControlClient, MeshMachine::TStateTransition< TContext >, NetStateMachine::MStateTransition, TContext) | |
IMPORT_C MeshMachine::CNodeActivityBase * | NewL(const MeshMachine::TNodeActivity &, MeshMachine::AMMNodeBase &) |
void | SetClient(const Messages::TNodeId &) |
void | SetFlags(TInt) |
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 |
DECLARE_SMELEMENT_FOOTER | ( | TStoreControlClient | ) |
TStoreControlClient |
EXPORT_DECLARE_SMELEMENT_HEADER | ( | TStoreControlClient | , |
MeshMachine::TStateTransition< TContext > | , | ||
NetStateMachine::MStateTransition | , | ||
TContext | |||
) |
TStoreControlClient | |
MeshMachine::TStateTransition< TContext > | |
NetStateMachine::MStateTransition | |
TContext |
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.
const MeshMachine::TNodeActivity & aActivitySig | Context information about how the activity is to be started |
MeshMachine::AMMNodeBase & aNode | The node to which this activity will belong. |
void | SetClient | ( | const Messages::TNodeId & | aCommsId | ) |
const Messages::TNodeId & aCommsId |
typedef MeshMachine::TNodeContext< ESock::CMMCommsProviderBase, PRStates::TContext, CDeferredCtrlClientJoinActivity > | TContext |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.