1 package org.opendaylight.openflowplugin.openflow.md.core;
5 import org.opendaylight.openflowplugin.openflow.md.core.session.OFSessionUtil;
6 import org.opendaylight.openflowplugin.openflow.md.queue.PopListener;
7 import org.opendaylight.yangtools.yang.binding.Notification;
9 public class NotificationPopListener<T> implements PopListener<T> {
13 public void onPop(List<T> processedMessage) {
14 OFSessionUtil.getSessionManager().getTranslatorMapping();
15 for ( T message : processedMessage ) {
16 if(message instanceof Notification) {
17 OFSessionUtil.getSessionManager().getNotificationProviderService().publish((Notification) message);