OnResponseReceived() private method

private OnResponseReceived ( string response ) : void
response string
return void
示例#1
0
        /// <summary>
        /// Refresh response from control channel.
        /// </summary>
        public void RefreshResponse()
        {
            if ((object)m_connection == null)
            {
                return;
            }

            lock (this)
            {
                m_lastResponse = new FtpResponse(m_connection.GetStream());
            }

            foreach (string s in m_lastResponse.Responses)
            {
                m_sessionHost.OnResponseReceived(s);
            }
        }