Messages::RNodeInterface Class Reference
class Messages::RNodeInterface : public Messages::RClientInterface
|
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.
|
Open(TNodeId, const TClientType &, MTransportSender *)
PostMessage(const TRuntimeCtxId &, const TNodeId::TRemainder &, const TSignalBase &)
PostMessage(const TRuntimeCtxId &, const TSignalBase &)
void
|
PostMessage
|
(
|
const
TRuntimeCtxId
&
|
aPostFrom,
|
|
const
TSignalBase
&
|
aMessage
|
|
)
|
const [inline]
|
PreAllocL(TUint)
IMPORT_C void
|
PreAllocL
|
(
|
TUint
|
aAllocSize
|
)
|
[private]
|
Pre-allocates memory and stores the pointer and its size
RecipientId()
const
TNodeId
&
|
RecipientId
|
(
|
)
|
const [inline]
|
operator==(const RNodeInterface &)
operator==(const TRuntimeCtxId &)
Member Data Documentation
TPreAllocStore * iPreAlloc
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.