コード例 #1
0
ファイル: worker.cs プロジェクト: rccoder/UAV-Control
 public worker()
 {
     __thread_running = true;
     __sending_queue = new Queue<Tuple<IPAddress, Packet>>();
     __receiving_queue = new Queue<Tuple<IPAddress, Packet>>();
     __caching_dict = new Dictionary<string, Packet>();
     __receiving_controller = new Receiving_Controller(__receiving_queue);
     __sending_controller = new sending_controller(__sending_queue);
 }
コード例 #2
0
 public worker()
 {
     __thread_running       = true;
     __sending_queue        = new Queue <Tuple <IPAddress, Packet> >();
     __receiving_queue      = new Queue <Tuple <IPAddress, Packet> >();
     __caching_dict         = new Dictionary <string, Packet>();
     __receiving_controller = new Receiving_Controller(__receiving_queue);
     __sending_controller   = new sending_controller(__sending_queue);
 }