Exemple #1
0
        public static CAsyncHttp Create()
        {
	        if ( m_pInstance != null) 
	           return m_pInstance;
	
	        m_pInstance = new CAsyncHttp();
	        return m_pInstance;
        }
Exemple #2
0
        static public void Destroy()
        {
            if (m_pInstance != null)
            {
                m_pInstance.stop(2);

                m_pInstance = null;
            }
        }
Exemple #3
0
        static public void Destroy()
        {
            if (m_pInstance != null)
            {
                m_pInstance.stop(2);

                m_pInstance = null;
            }
        }
Exemple #4
0
        public static CAsyncHttp Create()
        {
            if (m_pInstance != null)
            {
                return(m_pInstance);
            }

            m_pInstance = new CAsyncHttp();
            return(m_pInstance);
        }
Exemple #5
0
        static public void Destroy()
        {
            if (m_pInstance != null)
            {
                m_pInstance.stop(-1);
                LOG.INFO("Thread shutdown");

                m_pInstance = null;
            }
        }