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

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

                m_pInstance = null;
            }
        }
Esempio n. 4
0
        public static CAsyncHttp Create()
        {
            if (m_pInstance != null)
            {
                return(m_pInstance);
            }

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

                m_pInstance = null;
            }
        }