private void Form1_Closed(object sender, EventArgs e) { iLibrary.Close(); iLibrary.Stop(); iSsdpListener.Stop(); iEventServer.Stop(); }
public Device Find(IPAddress aInterface, int aTimeout) // in milliseconds { Trace.WriteLine(Trace.kTopology, "DeviceFinder Find: " + iUglyName); iListener.Start(aInterface); iDeviceList.Start(aInterface); iSemaphore.WaitOne(aTimeout, false); Trace.WriteLine(Trace.kTopology, "DeviceFinder Found: " + iUglyName); iDeviceList.Stop(); iListener.Stop(); if (iFound) { return(iDevice); } throw (new DeviceFinderException()); }
public void Close() { iListener.Stop(); }
public void Stop() { iHouse.Stop(); iListenerNotify.Stop(); iEventServer.Stop(); }
void IStack.Stop() { iDeviceListProduct.Stop(); iListenerNotify.Stop(); }
private void Form1_FormClosed(object sender, EventArgs e) { iEventServer.Stop(); iListenerNotify.Stop(); iModelLibrary.Stop(); }