datacommsserver/esockserver/eintsock/ss_eintsock_msgs.inl
branchRCL_3
changeset 19 0b0e9fce0b58
parent 0 dfb7c4ff071f
equal deleted inserted replaced
14:8b5d60ce1e94 19:0b0e9fce0b58
   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 (&params->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)