datacommsserver/esockserver/eintsock/ss_eintsock_msgs.inl
changeset 25 e53adc4c49de
parent 0 dfb7c4ff071f
equal deleted inserted replaced
22:592244873960 25:e53adc4c49de
   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)