Remove yang.binding.RpcService
[mdsal.git] / binding / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / NotificationListener.java
1 /*
2  * Copyright (c) 2013 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 package org.opendaylight.yangtools.yang.binding;
9
10 import java.util.EventListener;
11
12 /**
13  * Marker interface for generated notification listener interfaces. This interface exists solely as support for
14  * generated code. Users should never implement this interface directly, but rather implement one of the sub-interfaces
15  * generated from a YANG model.
16  *
17  * <p>
18  * The subclasses of this interface have callbacks for events, which are derived from {@link Notification} class in form
19  * <pre>
20  *   void on{NotificationType}(NotificationType notification)
21  * </pre>
22  *
23  * <p>
24  * E.g. if we have notification SessionUp the callback will have signature:
25  * {@code void  onSessionUp(SessionUp notification)}
26  */
27 @Deprecated(since = "10.0.0", forRemoval = true)
28 public interface NotificationListener extends EventListener {
29
30 }