2 * Copyright (c) 2016 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.netconf.topology.singleton.messages;
11 import java.io.Serializable;
12 import org.opendaylight.netconf.sal.connect.util.RemoteDeviceId;
13 import org.opendaylight.netconf.topology.singleton.impl.utils.NetconfTopologySetup;
16 * Master sends this message to the own actor to refresh setup data
18 public class RefreshSetupMasterActorData implements Serializable {
19 private static final long serialVersionUID = 1L;
21 private final NetconfTopologySetup netconfTopologyDeviceSetup;
22 private final RemoteDeviceId remoteDeviceId;
24 public RefreshSetupMasterActorData(final NetconfTopologySetup netconfTopologyDeviceSetup,
25 final RemoteDeviceId remoteDeviceId) {
26 this.netconfTopologyDeviceSetup = netconfTopologyDeviceSetup;
27 this.remoteDeviceId = remoteDeviceId;
30 public NetconfTopologySetup getNetconfTopologyDeviceSetup() {
31 return netconfTopologyDeviceSetup;
34 public RemoteDeviceId getRemoteDeviceId() {
35 return remoteDeviceId;