protected void InvokeDeviceAdded(RootEntry rootEntry, DeviceEntry deviceEntry)
 {
     try
     {
         DeviceAddedDlgt dlgt = DeviceAdded;
         if (dlgt != null)
         {
             dlgt(rootEntry, deviceEntry);
         }
     }
     catch (Exception e)
     {
         UPnPConfiguration.LOGGER.Warn("SSDPClientController: Error invoking DeviceAdded delegate", e);
     }
 }
Example #2
0
 protected void InvokeRootDeviceAdded(RootDescriptor rd)
 {
     try
     {
         DeviceAddedDlgt dlgt = RootDeviceAdded;
         if (dlgt != null)
         {
             dlgt(rd);
         }
     }
     catch (Exception e)
     {
         UPnPConfiguration.LOGGER.Warn("UPnPNetworkTracker: Error invoking RootDeviceAdded delegate", e);
     }
 }