193 inline TEIntSockMsgExt::TEIntSockMsgExt(TSockMess aOperation, TEIntSockOpMsgWrapper& aOpMsg, CInternalSocketImpl*& aImplPtr, TRequestStatus& aStatus, CommsFW::MCommsTransportSender* aSender, const Messages::TNodeId& aImplCookie) |
193 inline TEIntSockMsgExt::TEIntSockMsgExt(TSockMess aOperation, TEIntSockOpMsgWrapper& aOpMsg, CInternalSocketImpl*& aImplPtr, TRequestStatus& aStatus, CommsFW::MCommsTransportSender* aSender, const Messages::TNodeId& aImplCookie) |
194 : TEIntSockMsg(aOperation, aOpMsg, &aImplPtr, aStatus) |
194 : TEIntSockMsg(aOperation, aOpMsg, &aImplPtr, aStatus) |
195 { |
195 { |
196 TParams* params = reinterpret_cast<TParams*>(ParamBlock()); |
196 TParams* params = reinterpret_cast<TParams*>(ParamBlock()); |
197 params->iSender = aSender; |
197 params->iSender = aSender; |
|
198 |
|
199 // caution - TRuntimeCtxId assignment operator overloaded - it assumes a properly constructed destination, which it isn't here |
|
200 // so we in-place construct it |
|
201 new (¶ms->iImplCookie)Messages::TNodeId(); |
198 params->iImplCookie = aImplCookie; |
202 params->iImplCookie = aImplCookie; |
199 } |
203 } |
200 |
204 |
201 inline TEIntSockMsgExt::TEIntSockMsgExt(TSockMess aOperation, TEIntSockOpMsgWrapper& aOpMsg, CInternalSocketImpl*& aImplPtr, CommsFW::MCommsTransportSender* aSender, const Messages::TNodeId& aImplCookie) |
205 inline TEIntSockMsgExt::TEIntSockMsgExt(TSockMess aOperation, TEIntSockOpMsgWrapper& aOpMsg, CInternalSocketImpl*& aImplPtr, CommsFW::MCommsTransportSender* aSender, const Messages::TNodeId& aImplCookie) |
202 : TEIntSockMsg(aOperation, aOpMsg, &aImplPtr) |
206 : TEIntSockMsg(aOperation, aOpMsg, &aImplPtr) |