Beispiel #1
0
 private void FactoryFailedSink(UPnPDeviceFactory sender, Uri URL, Exception e)
 {
     lock (this.CreateTable)
     {
         this.CreateTable.Remove(sender);
         sender.Shutdown();
     }
 }
Beispiel #2
0
 private void HandleDeviceCreation(UPnPDeviceFactory Factory, UPnPDevice device, Uri URL)
 {
     Factory.Shutdown();
     if (this.OnCreateDevice != null)
     {
         this.OnCreateDevice(device, URL);
     }
 }
Beispiel #3
0
 private void HandleFactory(UPnPDeviceFactory Factory, UPnPDevice device, Uri URL)
 {
     lock (this.CreateTable)
     {
         this.CreateTable.Remove(Factory);
     }
     Factory.Shutdown();
     if (this.OnDevice != null)
     {
         this.OnDevice(this, device, URL);
     }
 }