Merge "Add unit tests for sal-netconf-connector transactions"
[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 java.io.Serializable;
12 import org.opendaylight.netconf.sal.connect.util.RemoteDeviceId;
13 import org.opendaylight.netconf.topology.singleton.impl.utils.NetconfTopologySetup;
14
15 /**
16  * Master sends this message to the own actor to refresh setup data
17  */
18 public class RefreshSetupMasterActorData implements Serializable {
19     private static final long serialVersionUID = 1L;
20
21     private final NetconfTopologySetup netconfTopologyDeviceSetup;
22     private final RemoteDeviceId remoteDeviceId;
23
24     public RefreshSetupMasterActorData(final NetconfTopologySetup netconfTopologyDeviceSetup,
25                                        final RemoteDeviceId remoteDeviceId) {
26         this.netconfTopologyDeviceSetup = netconfTopologyDeviceSetup;
27         this.remoteDeviceId = remoteDeviceId;
28     }
29
30     public NetconfTopologySetup getNetconfTopologyDeviceSetup() {
31         return netconfTopologyDeviceSetup;
32     }
33
34     public RemoteDeviceId getRemoteDeviceId() {
35         return remoteDeviceId;
36     }
37 }