void registerAsNotificationListener() { this.notificationService.registerNotificationListener(this); }
void registerAsNotificationListener() { this.notificationService.registerNotificationListener(this); }
@Override public ListenerRegistration<org.opendaylight.yangtools.yang.binding.NotificationListener> registerNotificationListener( org.opendaylight.yangtools.yang.binding.NotificationListener listener) { return getNotificationBrokerChecked().registerNotificationListener(listener); }
@Override public ListenerRegistration<org.opendaylight.yangtools.yang.binding.NotificationListener> registerNotificationListener( final org.opendaylight.yangtools.yang.binding.NotificationListener listener) { return service(NotificationService.class).registerNotificationListener(listener); }
@Override public <T extends Notification> ListenerRegistration<NotificationListener<T>> registerNotificationListener( Class<T> notificationType, NotificationListener<T> listener) { return getNotificationBrokerChecked().registerNotificationListener(notificationType, listener); }
@Override public <T extends Notification> ListenerRegistration<NotificationListener<T>> registerNotificationListener( final Class<T> notificationType, final NotificationListener<T> listener) { return service(NotificationService.class).registerNotificationListener(notificationType, listener); }
@Override public ListenerRegistration<org.opendaylight.yangtools.yang.binding.NotificationListener> registerNotificationListener(org.opendaylight.yangtools.yang.binding.NotificationListener listener) { return getNotificationBrokerChecked().registerNotificationListener(listener); } }
@Override public <T extends Notification> ListenerRegistration<NotificationListener<T>> registerNotificationListener( Class<T> notificationType, NotificationListener<T> listener) { return getNotificationBrokerChecked().registerNotificationListener(notificationType, listener); }
public void onSessionInitiated(final ProviderContext session) { notificationService = session.getSALService(NotificationService.class); // For switch events notificationService.registerNotificationListener(flowEventListener); notificationService.registerNotificationListener(nodeErrorListener); dataBroker = session.getSALService(DataBroker.class); ctx.registerService(CommandProvider.class.getName(), this, null); createTestFlow(createTestNode(null), null, null); }
public void onSessionInitiated(ProviderContext session) { pc = session; notificationService = session.getSALService(NotificationService.class); // For switch events listenerReg = notificationService.registerNotificationListener(topologyEventListener); dataBroker = session.getSALService(DataBroker.class); }
public void onSessionInitiated(ProviderContext session) { pc = session; notificationService = session.getSALService(NotificationService.class); // For switch events listenerReg = notificationService.registerNotificationListener(portEventListener); dataBroker = session.getSALService(DataBroker.class); }
public void onSessionInitiated(ProviderContext session) { pc = session; notificationService = session.getSALService(NotificationService.class); listener2Reg = notificationService.registerNotificationListener(nodeErrorListener); dataBroker = session.getSALService(DataBroker.class); ctx.registerService(CommandProvider.class.getName(), this, null); createTestFlow(createTestNode(null), null, null); }
public void onSessionInitiated(ProviderContext session) { pc = session; dataBroker = session.getSALService(DataBroker.class); ctx.registerService(CommandProvider.class.getName(), this, null); notificationService = session.getSALService(NotificationService.class); // For switch events listener1Reg = notificationService.registerNotificationListener(meterEventListener); createTestNode(); createTestMeter(); }
public void onSessionInitiated(ProviderContext session) { pc = session; notificationService = session.getSALService(NotificationService.class); listener2Reg = notificationService.registerNotificationListener(nodeErrorListener); dataBroker = session.getSALService(DataBroker.class); ctx.registerService(CommandProvider.class.getName(), this, null); createTestFlow(createTestNode(null), null, null); }
@Override public void onSessionInitiated(ProviderContext session) { LOG.info("UsecpluginProvider Session Initiated"); usecpluginService = session.addRpcImplementation(UsecpluginService.class, new UsecpluginRPCImpl()); NotificationService notificationService = session.getSALService(NotificationService.class); PacketHandler packetHandler = new PacketHandler(); notificationService.registerNotificationListener(packetHandler); NotificationProviderService notificationProvider = session.getSALService(NotificationProviderService.class); packetHandler.setNotificationProviderService(notificationProvider); PacketHandler_HWM packetHandler_hwm = new PacketHandler_HWM(); notificationService.registerNotificationListener(packetHandler_hwm); dataBroker = session.getSALService(DataBroker.class); packetHandler_hwm.setdataBroker(dataBroker); packetHandler_hwm.dbHwm(); packetHandler.setdataBroker(dataBroker); packetHandler.dbOpen(); UsecpluginNotifImpl listener = new UsecpluginNotifImpl(); notificationService.registerNotificationListener(listener); packetHandler_hwm.getHWMSample(); packetHandler.getLWMSample(); }
flow.setDataBrokerService(session.getSALService(DataBrokerService.class)); subscribe.registerNotificationListener(flow); subscribe.registerNotificationListener(inv); tpp.startAdapter(); subscribe.registerNotificationListener(activator.getDataPacket());