Ejemplo n.º 1
0
 static NodeMaster()
 {
     Program.line          = 9999;
     agent                 = new NodeAgent();
     Program.line          = 99999;
     WaitEvent             = new AutoResetEvent(false);
     OverEvent             = new AutoResetEvent(false);
     agent_access          = false;
     actmsg                = new ActMessage();
     msg_loop              = new Thread(new ThreadStart(MessageHandler));
     msg_loop.IsBackground = false;
     msg_loop.Start();
 }
Ejemplo n.º 2
0
 static NodeMaster()
 {
     Program.line = 9999;
     agent = new NodeAgent();
     Program.line = 99999;
     WaitEvent = new AutoResetEvent(false);
     OverEvent = new AutoResetEvent(false);
     agent_access = false;
     actmsg = new ActMessage();
     msg_loop = new Thread(new ThreadStart(MessageHandler));
     msg_loop.IsBackground = false;
     msg_loop.Start();
 }