Esempio n. 1
0
 public bool Stop()
 {
     if (Started)
     {
         Started = false;
         jtHttp.Stop();
         channel1078.Close();
         return(true);
     }
     return(false);
 }
Esempio n. 2
0
        public bool Stop()
        {
            if (Started)
            {
                Started = false;
                channelhttp.Close();
                jt1078Client?.Stop();

                MyTask.RemoveItem(this.Key);

                return(true);
            }
            return(false);
        }