예제 #1
0
        /// <summary>
        /// updates the thread scope PICurrent from thread scope
        /// </summary>
        internal void SetThreadScopeCurrentFromPICurrent()
        {
            PICurrentImpl current = PICurrent;

            OrbServices.GetSingleton().PICurrentManager.SetFromRequestScope(current);
        }
예제 #2
0
 /// <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;
 }
예제 #3
0
        /// <summary>
        /// updates the picurrent from the thread scope PICurrent
        /// </summary>
        internal void SetRequestPICurrentFromThreadScopeCurrent()
        {
            PICurrentImpl piCurrent = OrbServices.GetSingleton().PICurrentManager.CreateRequestScopeFromThreadScope();

            SimpleGiopMsg.SetPICurrent(m_requestMessage, piCurrent);
        }