Messages::RNodeInterface Class Reference

class Messages::RNodeInterface : public Messages::RClientInterface

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

RNodeInterface()

IMPORT_C RNodeInterface ( )

~RNodeInterface()

IMPORT_C ~RNodeInterface ( ) [virtual]

Member Functions Documentation

ClaimPreallocatedSpace(TUint)

IMPORT_C TAny * ClaimPreallocatedSpace ( TUint aSize ) [private]

Claim some preallocated memory from the RNodeInterface . This preallocated memory is used for activities that absolutely cannot fail in any scenario, such as for Leaving the node. For this reason, when the RNodeInterface is created, some memory is allocated so that a leaving activity can't even fail in an out of memory situation.

This method is static as the memory must be claimed before the activity object is constructed.

Finds a pointer of the requested size from the preallocation array (see PreallocActivitySpaceL) and returns it

Parameters

TUint aSize Size of buffer to allocate.

ClearFlags(TUint32)

TUint32 ClearFlags ( TUint32 aFlags ) [inline]

Parameters

TUint32 aFlags

ClientType()

TClientType & ClientType ( ) [inline]

Flags()

TUint32 Flags ( ) const [inline]

Open(TNodeId, const TClientType &, MTransportSender *)

IMPORT_C void Open ( TNodeId aPostTo,
const TClientType & aClientType = TClientType::NullType(),
MTransportSender * aSender = NULL
)

Parameters

TNodeId aPostTo
const TClientType & aClientType = TClientType::NullType()
MTransportSender * aSender = NULL

PostMessage(const TRuntimeCtxId &, const TNodeId::TRemainder &, const TSignalBase &)

IMPORT_C void PostMessage ( const TRuntimeCtxId & aPostFrom,
const TNodeId::TRemainder & aPostTo,
const TSignalBase & aMessage
) const

Parameters

const TRuntimeCtxId & aPostFrom
const TNodeId::TRemainder & aPostTo
const TSignalBase & aMessage

PostMessage(const TRuntimeCtxId &, const TSignalBase &)

void PostMessage ( const TRuntimeCtxId & aPostFrom,
const TSignalBase & aMessage
) const [inline]

Parameters

const TRuntimeCtxId & aPostFrom
const TSignalBase & aMessage

PreAllocL(TUint)

IMPORT_C void PreAllocL ( TUint aAllocSize ) [private]

Pre-allocates memory and stores the pointer and its size

Parameters

TUint aAllocSize

RecipientId()

const TNodeId & RecipientId ( ) const [inline]

SetFlags(TUint32)

TUint32 SetFlags ( TUint32 aFlags ) [inline]

Parameters

TUint32 aFlags

Type()

TUint32 Type ( ) const [inline]

operator==(const RNodeInterface &)

IMPORT_C TBool operator== ( const RNodeInterface & aRHS ) const

Parameters

const RNodeInterface & aRHS

operator==(const TRuntimeCtxId &)

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

Parameters

const TRuntimeCtxId & aRHS

Member Data Documentation

TClientType iClientType

TClientType iClientType [protected]

TPreAllocStore * iPreAlloc

TPreAllocStore * iPreAlloc [private]