private void deliverFoundAnnouncement ( final DeviceAnnouncement announcement ) { for ( final DeviceAnnouncementListener listener : getDeviceAnnouncementListeners ( ) ) { SwingUtilities . invokeLater ( new Runnable ( ) { @ Override public void run ( ) { try { listener . deviceFound ( announcement ) ; } catch ( Throwable t ) { logger . warn ( "Problem delivering device found announcement to listener" , t ) ; } } } ) ; } }
Send a device found announcement to all registered listeners .