/** * Handle the event CompleteRequestListComponentRegisteredNotificationEvent * * @param event */ public void handleCompleteRequestListComponentRegisteredNotificationEvent( CompleteRequestListComponentRegisteredNotificationEvent event) { try { CopyOnWriteArrayList<PlatformComponentProfile> remotePlatformComponentProfileRegisteredList = new CopyOnWriteArrayList<>(); remotePlatformComponentProfileRegisteredList.addAllAbsent(event.getRegisteredComponentList()); onReceivePlatformComponentProfileRegisteredList(remotePlatformComponentProfileRegisteredList); } catch (Exception e) { e.printStackTrace(); } }
@Override public void processEvent(CompleteRequestListComponentRegisteredNotificationEvent event) { this.networkService.handleCompleteRequestListComponentRegisteredNotificationEvent( event.getRegisteredComponentList()); }