BUG-2599 Netconf notification manager initial API and Impl
[controller.git] / opendaylight / netconf / netconf-notifications-api / src / main / java / org / opendaylight / controller / netconf / notifications / BaseNetconfNotificationListener.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.controller.netconf.notifications;
10
11 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfCapabilityChange;
12
13
14 /**
15  * Listener for base netconf notifications defined in https://tools.ietf.org/html/rfc6470.
16  * This listener uses generated classes from yang model defined in RFC6470.
17  * It alleviates the provisioning of base netconf notifications from the code.
18  */
19 public interface BaseNetconfNotificationListener {
20
21     /**
22      * Callback used to notify about a change in used capabilities
23      */
24     void onCapabilityChanged(NetconfCapabilityChange capabilityChange);
25
26     // TODO add other base notifications
27
28 }