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); }
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); }