Prevent NPE's on failures
[netconf.git] / opendaylight / netconf / abstract-topology / src / main / java / org / opendaylight / netconf / topology / TopologyManagerCallback.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.netconf.topology;
10
11 import akka.actor.ActorSystem;
12 import akka.actor.TypedActor.Receiver;
13 import com.google.common.annotations.Beta;
14
15 /**
16  * Customizable extension layer between the top level TopologyManager and NodeManager
17  */
18 @Beta
19 public interface TopologyManagerCallback extends InitialStateProvider, NodeListener, Receiver, RoleChangeListener {
20
21     interface TopologyManagerCallbackFactory {
22         TopologyManagerCallback create(ActorSystem actorSystem, String topologyId);
23     }
24 }