Merge "Increase timeout for waiting for broker service in sal-binding-it."
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / main / java / org / opendaylight / controller / sal / binding / spi / NotificationInvokerFactory.java
1 /*
2  * Copyright (c) 2014 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.controller.sal.binding.spi;
9
10 import java.util.Set;
11
12 import org.opendaylight.controller.sal.binding.api.NotificationListener;
13 import org.opendaylight.yangtools.yang.binding.Notification;
14
15 public interface NotificationInvokerFactory {
16
17     NotificationInvoker invokerFor(org.opendaylight.yangtools.yang.binding.NotificationListener instance);
18
19     public interface NotificationInvoker {
20
21         Set<Class<? extends Notification>> getSupportedNotifications();
22
23         NotificationListener<Notification> getInvocationProxy();
24
25         public abstract void close();
26
27         org.opendaylight.yangtools.yang.binding.NotificationListener getDelegate();
28
29     }
30 }