public AccessPoint(ISimpliciTIDriver simplicitiDriver)
 {
     this.simplicitiDriver = simplicitiDriver;
     dirty = false;
     OnLostConnection += () => { };
     OnPacketRecieved += x => { };
     this.supervisorThread = new Thread(new ThreadStart(Supervisor));
     supervisorThread.IsBackground = true;
     supervisorThread.Start();
 }
 public AccessPoint(ISimpliciTIDriver simplicitiDriver)
 {
     this.simplicitiDriver = simplicitiDriver;
     dirty                         = false;
     OnLostConnection             += () => { };
     OnPacketRecieved             += x => { };
     this.supervisorThread         = new Thread(new ThreadStart(Supervisor));
     supervisorThread.IsBackground = true;
     supervisorThread.Start();
 }
Esempio n. 3
0
 public void TestInitialize()
 {
     mockSimplicitiDriver = MockRepository.GenerateStub <ISimpliciTIDriver>();
     accessPoint          = new AccessPoint(mockSimplicitiDriver);
 }
 public void TestInitialize()
 {
     mockSimplicitiDriver = MockRepository.GenerateStub<ISimpliciTIDriver>();
     accessPoint = new AccessPoint(mockSimplicitiDriver);
 }