public string clearCalls() { string ret = ""; // clearCalls and when to do it ret = ce.DeleteAllCalls(); return(ret); }
private string deleteCalls() { string ret; callExe ce = new callExe(); ret = ce.DeleteAllCalls(); return(ret); }
/// <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); }