private void CallOnUpdateDeviceListener(FoundNetDeviceList foundNetDeviceList)
 {
     if (onUpdateDeviceListener != null)
     {
         onUpdateDeviceListener(foundNetDeviceList);
     }
 }
Beispiel #2
0
 public static FoundNetDeviceList GetInstance()
 {
     if (mInstance == null)
     {
         mInstance = new FoundNetDeviceList();
     }
     return(mInstance);
 }
 private SearchingDeviceManager()
 {
     cache              = new byte[CACHE_LENGTH];
     finderList         = new List <Finder>();
     foundNetDeviceList = FoundNetDeviceList.GetInstance();
 }
 private NetSearchingDeviceManager()
 {
     finderList         = new List <Finder>();
     foundNetDeviceList = FoundNetDeviceList.GetInstance();
 }