2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.controller.netconf.notifications;
11 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.notification._1._0.rev080714.StreamNameType;
12 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.rev080714.netconf.Streams;
17 public interface NetconfNotificationRegistry {
20 * Add listener for a certain notification type
22 NotificationListenerRegistration registerNotificationListener(StreamNameType stream, NetconfNotificationListener listener);
25 * Check stream availability
27 boolean isStreamAvailable(StreamNameType streamNameType);
30 * Get all the streams available
32 Streams getNotificationPublishers();