2 * Copyright (c) 2014 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
9 package org.opendaylight.controller.cluster.datastore.messages;
11 import akka.actor.ActorPath;
12 import org.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker;
13 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
15 public class RegisterChangeListener {
16 private final InstanceIdentifier path;
17 private final ActorPath dataChangeListenerPath;
18 private final AsyncDataBroker.DataChangeScope scope;
21 public RegisterChangeListener(InstanceIdentifier path,
22 ActorPath dataChangeListenerPath,
23 AsyncDataBroker.DataChangeScope scope) {
25 this.dataChangeListenerPath = dataChangeListenerPath;
29 public InstanceIdentifier getPath() {
34 public AsyncDataBroker.DataChangeScope getScope() {
38 public ActorPath getDataChangeListenerPath() {
39 return dataChangeListenerPath;