commsfwsupport/commselements/nodemessages/src/nm_messages.cpp
branchRCL_3
changeset 69 9d7ce34704c8
parent 66 cbb19216b74d
child 70 b564fb5fd78b
equal deleted inserted replaced
67:00c6709d25aa 69:9d7ce34704c8
    50 
    50 
    51 EXPORT_C void TSignatureBase::DispatchL(const TRuntimeCtxId& aSender, const TRuntimeCtxId& aRecipient)
    51 EXPORT_C void TSignatureBase::DispatchL(const TRuntimeCtxId& aSender, const TRuntimeCtxId& aRecipient)
    52 	{
    52 	{
    53 	const TNodeId& nodeId = address_cast<TNodeId>(aRecipient); //This message type operates on nodes
    53 	const TNodeId& nodeId = address_cast<TNodeId>(aRecipient); //This message type operates on nodes
    54 	__ASSERT_DEBUG(nodeId.Ptr(), User::Panic(KSpecAssert_ElemNodeMessMesC, 1));
    54 	__ASSERT_DEBUG(nodeId.Ptr(), User::Panic(KSpecAssert_ElemNodeMessMesC, 1));
    55 	__ASSERT_ALWAYS(nodeId.Node().NodeId() == nodeId, User::Panic(KMessagesPanic, EDeceasedNodePanic)); //Address reuse protection (Ptr() may match something existing, but not necesserily the intended addresee).
       
    56 	nodeId.Node().ReceivedL(aSender, nodeId, *this);
    55 	nodeId.Node().ReceivedL(aSender, nodeId, *this);
    57 	}
    56 	}
    58 
    57 
    59 EXPORT_C void TSignatureBase::Error(const TRuntimeCtxId& aSender, const TRuntimeCtxId& aRecipient, TInt aError)
    58 EXPORT_C void TSignatureBase::Error(const TRuntimeCtxId& aSender, const TRuntimeCtxId& aRecipient, TInt aError)
    60     {
    59     {