import java.util.HashMap;
import java.util.Map;
import org.opendaylight.transportpce.common.converter.JsonStringConverter;
-import org.opendaylight.transportpce.nbinotifications.listener.NbiNotificationsListenerImpl;
+import org.opendaylight.transportpce.nbinotifications.listener.NbiNotificationsHandler;
import org.opendaylight.transportpce.nbinotifications.producer.Publisher;
import org.opendaylight.transportpce.nbinotifications.serialization.NotificationAlarmServiceSerializer;
import org.opendaylight.transportpce.nbinotifications.serialization.NotificationServiceSerializer;
import org.opendaylight.transportpce.nbinotifications.serialization.TapiNotificationSerializer;
-import org.opendaylight.yang.gen.v1.nbi.notifications.rev211013.NotificationAlarmService;
-import org.opendaylight.yang.gen.v1.nbi.notifications.rev211013.NotificationProcessService;
-import org.opendaylight.yang.gen.v1.nbi.notifications.rev211013.NotificationTapiService;
+import org.opendaylight.yang.gen.v1.nbi.notifications.rev230728.NotificationAlarmService;
+import org.opendaylight.yang.gen.v1.nbi.notifications.rev230728.NotificationProcessService;
+import org.opendaylight.yang.gen.v1.nbi.notifications.rev230728.NotificationTapiService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
private Map<String, Publisher<NotificationTapiService>> tapiPublisherMap = new HashMap<>();
private String publisherServer;
private JsonStringConverter<NotificationTapiService> tapiConverter;
- private NbiNotificationsListenerImpl nbiNotificationsListener;
+ private NbiNotificationsHandler nbiNotificationsListener;
private Map<String, Publisher<NotificationAlarmService>> alarmPublisherMap = new HashMap<>();
private Map<String, Publisher<NotificationProcessService>> processPublisherMap = new HashMap<>();
private JsonStringConverter<NotificationProcessService> processConverter;
return instance;
}
- public void setNbiNotificationsListener(NbiNotificationsListenerImpl nbiNotificationsListener) {
+ public void setNbiNotificationsListener(NbiNotificationsHandler nbiNotificationsListener) {
this.nbiNotificationsListener = nbiNotificationsListener;
}