コード例 #1
0
ファイル: Form1.cs プロジェクト: daviddw/oss-public
        private void Form1_Closed(object sender, EventArgs e)
        {
            iLibrary.Close();

            iLibrary.Stop();
            iSsdpListener.Stop();
            iEventServer.Stop();
        }
コード例 #2
0
ファイル: DeviceFinder.cs プロジェクト: daviddw/Kinsky
        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());
        }
コード例 #3
0
ファイル: Fallback.cs プロジェクト: daviddw/oss-public
 public void Close()
 {
     iListener.Stop();
 }
コード例 #4
0
ファイル: AppDelegateIpad.cs プロジェクト: daviddw/oss-public
 public void Stop()
 {
     iHouse.Stop();
     iListenerNotify.Stop();
     iEventServer.Stop();
 }
コード例 #5
0
 void IStack.Stop()
 {
     iDeviceListProduct.Stop();
     iListenerNotify.Stop();
 }
コード例 #6
0
ファイル: Form1.cs プロジェクト: daviddw/oss-public
 private void Form1_FormClosed(object sender, EventArgs e)
 {
     iEventServer.Stop();
     iListenerNotify.Stop();
     iModelLibrary.Stop();
 }