コード例 #1
0
        public void Stop()
        {
            if (!m_isStarted)
            {
                throw new InvalidOperationException();
            }

            m_isStarted = false;

            m_replyChannel.Close();
            m_thread.Join();
        }
コード例 #2
0
        public void Stop()
        {
            if (!m_isStarted)
            {
                throw new InvalidOperationException();
            }

            m_isStarted = false;

            WsHttpMessageProcessor.StopProcessing();

            m_replyChannel.Close();
            m_thread.Join();
        }