ESock::ACFMMNodeBase Class Reference

class ESock::ACFMMNodeBase : public MeshMachine::AMMNodeBase

Aggregation base class for mesh-machine based nodes specifically for networking mesh of nodes

Constructor & Destructor Documentation

ACFMMNodeBase(const MeshMachine::TNodeActivityMap &, const Messages::TNodeId &)

ACFMMNodeBase(const MeshMachine::TNodeActivityMap &aActivityMap,
const Messages::TNodeId &aNodeId
)[protected, inline, explicit]

Parameters

const MeshMachine::TNodeActivityMap & aActivityMapMap of activities this node will be able to perform
const Messages::TNodeId & aNodeIdId of this node

Member Functions Documentation

ControlProvider()

Messages::RNodeInterface *ControlProvider()const [inline]

Return the control provider. The control providers sits to the right of a node, and manages the lifetime of the node.

FetchNodeInterfaceControlL(TInt)

IMPORT_C NetInterfaces::TInterfaceControl *FetchNodeInterfaceControlL(TIntaInterfaceId)[protected, virtual]

Fetch the interface control for a given interface id

Parameters

TInt aInterfaceIdInterface id to fetch control for.

HandlePassThroughMessage(MeshMachine::TNodeContextBase &)

IMPORT_C voidHandlePassThroughMessage(MeshMachine::TNodeContextBase &aContext)[protected, virtual]

Handle a message that has been delivered to the node, but not picked up by any activity.

Parameters

MeshMachine::TNodeContextBase & aContextcontext in which the message was received

ServiceProvider()

Messages::RNodeInterface *ServiceProvider()const [inline]

The method returns the one and only service provider. The method accepts that 'this' can be in relation with many EServProviders (e.g.: like MCPRs are), but only one of them is conceptually the chosen (active) EServProvider. The method will assume the chosen one is the (first) one marked with TCFClientType::EActive.