Add changed-leaf-nodes-only subscription extension
[netconf.git] / apps / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / messages / RefreshSetupMasterActorData.java
1 /*
2  * Copyright (c) 2016 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.netconf.topology.singleton.messages;
9
10 import org.opendaylight.netconf.sal.connect.api.RemoteDeviceId;
11 import org.opendaylight.netconf.topology.singleton.impl.utils.NetconfTopologySetup;
12
13 /**
14  * Master sends this message to the own actor to refresh setup data.
15  */
16 public class RefreshSetupMasterActorData {
17     private final NetconfTopologySetup netconfTopologyDeviceSetup;
18     private final RemoteDeviceId remoteDeviceId;
19
20     public RefreshSetupMasterActorData(final NetconfTopologySetup netconfTopologyDeviceSetup,
21                                        final RemoteDeviceId remoteDeviceId) {
22         this.netconfTopologyDeviceSetup = netconfTopologyDeviceSetup;
23         this.remoteDeviceId = remoteDeviceId;
24     }
25
26     public NetconfTopologySetup getNetconfTopologyDeviceSetup() {
27         return netconfTopologyDeviceSetup;
28     }
29
30     public RemoteDeviceId getRemoteDeviceId() {
31         return remoteDeviceId;
32     }
33 }