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 implements SerializableMessage {
17 private final InstanceIdentifier path;
18 private final ActorPath dataChangeListenerPath;
19 private final AsyncDataBroker.DataChangeScope scope;
22 public RegisterChangeListener(InstanceIdentifier path,
23 ActorPath dataChangeListenerPath,
24 AsyncDataBroker.DataChangeScope scope) {
26 this.dataChangeListenerPath = dataChangeListenerPath;
30 public InstanceIdentifier getPath() {
35 public AsyncDataBroker.DataChangeScope getScope() {
39 public ActorPath getDataChangeListenerPath() {
40 return dataChangeListenerPath;
44 @Override public Object toSerializable() {
45 throw new UnsupportedOperationException("foo");