47befecaad425575634763ee72a848a87347e594
[netconf.git] / netconf / 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
9 package org.opendaylight.netconf.topology.singleton.messages;
10
11 import org.opendaylight.netconf.sal.connect.util.RemoteDeviceId;
12 import org.opendaylight.netconf.topology.singleton.impl.utils.NetconfTopologySetup;
13
14 /**
15  * Master sends this message to the own actor to refresh setup data.
16  */
17 public class RefreshSetupMasterActorData {
18     private final NetconfTopologySetup netconfTopologyDeviceSetup;
19     private final RemoteDeviceId remoteDeviceId;
20
21     public RefreshSetupMasterActorData(final NetconfTopologySetup netconfTopologyDeviceSetup,
22                                        final RemoteDeviceId remoteDeviceId) {
23         this.netconfTopologyDeviceSetup = netconfTopologyDeviceSetup;
24         this.remoteDeviceId = remoteDeviceId;
25     }
26
27     public NetconfTopologySetup getNetconfTopologyDeviceSetup() {
28         return netconfTopologyDeviceSetup;
29     }
30
31     public RemoteDeviceId getRemoteDeviceId() {
32         return remoteDeviceId;
33     }
34 }