Messages::TNodeCtxId Class Reference

class Messages::TNodeCtxId : public Messages::TNodeId

TNodeCtxId enriches TNodeId to describe entities addressable _within_ the nodes (entities of finer granularity than nodes). It is perceived that a single node (ANode) can maintain multiple conversations with its peers and hence it's the conversations that need addressing and not just the node.

Inherits from

Constructor & Destructor Documentation

TNodeCtxId()

IMPORT_CTNodeCtxId()[explicit]

TNodeCtxId(TUint16, const TNodeId &)

IMPORT_CTNodeCtxId(TUint16aNodeCtx,
const TNodeId &aNodeId
)[explicit]

Parameters

TUint16 aNodeCtxValue used to identify an entity within a node. Usually an activity id, but not nescessarily.
const TNodeId & aNodeIdNode to be addressed.

TNodeCtxId(const TNodeCtxId &)

IMPORT_CTNodeCtxId(const TNodeCtxId &aNodeCtxId)

Copy constructor.

Parameters

const TNodeCtxId & aNodeCtxId

TNodeCtxId(TUint8)

IMPORT_CTNodeCtxId(TUint8aSize)[protected, explicit]

Parameters

TUint8 aSize

Member Functions Documentation

NodeCtx()

TUint16 NodeCtx()const [inline]

NullId()

IMPORT_C const TNodeCtxId &NullId()[static]

operator!=(const TNodeCtxId &)

TBool operator!=(const TNodeCtxId &aRHS)const [inline]

Non-equality operator

Parameters

const TNodeCtxId & aRHS

operator=(const TRuntimeCtxId &)

IMPORT_C const TNodeCtxId &operator=(const TRuntimeCtxId &aRHS)

Assignment operator. Size of aRHS must be greater than or equal to sizeof(TNodeCtxId)

Parameters

const TRuntimeCtxId & aRHSobject to copy contents from

operator==(const TNodeCtxId &)

TBool operator==(const TNodeCtxId &aRHS)const [inline]

Equality operator.

Parameters

const TNodeCtxId & aRHS

Member Data Documentation

TUint16 iNodeCtx

TUint16 iNodeCtx[private]

TUint16 iReserved

TUint16 iReserved[private]

Solely here to word align the object, so sizeof() will really return the size. Otherwise, comparision breaks.