2 * Copyright (c) 2013 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
8 package org.opendaylight.yangtools.yang.binding;
10 import java.util.EventListener;
13 * Marker interface for generated notification listener interfaces. This interface
14 * exists solely as support for generated code. Users should never implement this
15 * interface directly, but rather implement one of the sub-interfaces generated
19 * The subclasses of this interface have callbacks for events, which are derived
20 * from {@link Notification} class in form void
21 * on{NotificationType}(NotificationType notification).
24 * E.g. if we have notification SessionUp the callback will have signature:
25 * <code>void onSessionUp(SessionUp notification)</code>
27 public interface NotificationListener extends EventListener {