/// <summary> /// updates the thread scope PICurrent from thread scope /// </summary> internal void SetThreadScopeCurrentFromPICurrent() { PICurrentImpl current = PICurrent; OrbServices.GetSingleton().PICurrentManager.SetFromRequestScope(current); }
/// <summary> /// helper method to set the picurrent inside a message. /// </summary> internal static void SetPICurrent(IMessage msg, PICurrentImpl current) { msg.Properties[SimpleGiopMsg.PI_CURRENT_SLOTS] = current; }
/// <summary> /// updates the picurrent from the thread scope PICurrent /// </summary> internal void SetRequestPICurrentFromThreadScopeCurrent() { PICurrentImpl piCurrent = OrbServices.GetSingleton().PICurrentManager.CreateRequestScopeFromThreadScope(); SimpleGiopMsg.SetPICurrent(m_requestMessage, piCurrent); }