Beispiel #1
0
        /// <summary>
        /// Resets internal state.
        /// </summary>
        public void reset()
        {
            if (m_todo != null)
            {
                m_todo.Clear();
            }

            if (m_ovpnMParser != null)
            {
                m_ovpnMParser.reset();
            }

            m_state       = WaitState.NULL;
            m_releaselock = true;
        }
Beispiel #2
0
        /// <summary>
        /// Resets internal state.
        /// </summary>
        public void reset()
        {
            m_logs.logDebugLine(5,"resetting logic");

            m_pkcs11count = 0;

            if (m_pkcs11details != null)
            {
                m_pkcs11details.Clear();
            }

            if (m_todo != null)
            {
                m_todo.Clear();
            }

            if (m_ovpnMParser != null)
            {
                m_ovpnMParser.reset();
            }

            m_state       = WaitState.NULL;
            m_releaselock = true;
        }