Пример #1
0
        public string clearCalls()
        {
            string ret = "";

            // clearCalls and when to do it
            ret = ce.DeleteAllCalls();
            return(ret);
        }
Пример #2
0
        private string deleteCalls()
        {
            string  ret;
            callExe ce = new callExe();

            ret = ce.DeleteAllCalls();
            return(ret);
        }
Пример #3
0
        /// <summary>
        /// kill all in progress call except myself
        /// </summary>
        /// <returns></returns>
        public string killInprogressCalls()
        {
            string ret = "";

            //起來,除了自己之外都先清除
            //所以若再run 一個console, 應該會砍掉前一個
            calls       = new Dictionary <string, clsCallStatus>();
            callThreads = new Dictionary <string, Thread>();
            ret         = ce.DeleteAllCalls(cml.callId);
            return(ret);
        }