/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.sal.core.api.notify; import org.opendaylight.controller.sal.core.api.BrokerService; import org.opendaylight.yangtools.concepts.ListenerRegistration; import org.opendaylight.yangtools.yang.common.QName; /** * NotificationService provides access to the notification functionality of the * SAL. * * NotificationService allows for consumption of notifications by registering * implementations of NotificationListener. * * The registration of notification listeners could be done by: * * * */ public interface NotificationService extends BrokerService { /** * Registers a notification listener for supplied notification type. * * @param notification * @param listener */ ListenerRegistration addNotificationListener(QName notification, NotificationListener listener); }