equal
deleted
inserted
replaced
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). |
55 nodeId.Node().ReceivedL(aSender, nodeId, *this); |
56 nodeId.Node().ReceivedL(aSender, nodeId, *this); |
56 } |
57 } |
57 |
58 |
58 EXPORT_C void TSignatureBase::Error(const TRuntimeCtxId& aSender, const TRuntimeCtxId& aRecipient, TInt aError) |
59 EXPORT_C void TSignatureBase::Error(const TRuntimeCtxId& aSender, const TRuntimeCtxId& aRecipient, TInt aError) |
59 { |
60 { |