예제 #1
0
 /// <summary>
 /// Constructs a new web conversation manager.
 /// </summary>
 /// <param name="applicationEndpoint">Application endpoint to use.</param>
 internal WebConversationManager(ApplicationEndpoint applicationEndpoint, TimerWheel timerWheel)
 {
     Debug.Assert(null != applicationEndpoint, "Application endpoint cannot be null");
     m_applicationEndpoint   = applicationEndpoint;
     m_webConversationPoller = new WebConversationPoller(this, timerWheel);
     m_webConversationPoller.Start();
 }
예제 #2
0
        /// <summary>
        /// Clean up method.
        /// </summary>
        internal void Stop()
        {
            WebConversationPoller poller = this.ConversationPoller;

            if (poller != null)
            {
                poller.Stop();
            }
        }