2 * Copyright (c) 2017 Inocybe Technologies 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.controller.cluster.datastore.messages;
10 import static java.util.Objects.requireNonNull;
12 import akka.actor.ActorPath;
13 import akka.actor.ActorRef;
14 import java.io.Serializable;
17 * Successful reply to a notification listener registration request.
19 * @author Thomas Pantelis
21 public class RegisterDataTreeNotificationListenerReply implements Serializable {
22 private static final long serialVersionUID = 1L;
24 private final ActorRef listenerRegistrationPath;
26 public RegisterDataTreeNotificationListenerReply(final ActorRef listenerRegistrationPath) {
27 this.listenerRegistrationPath = requireNonNull(listenerRegistrationPath);
30 public ActorPath getListenerRegistrationPath() {
31 return listenerRegistrationPath.path();