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
8 package org.opendaylight.netconf.topology.singleton.messages;
10 import java.util.List;
11 import org.opendaylight.mdsal.dom.api.DOMDataBroker;
12 import org.opendaylight.mdsal.dom.api.DOMRpcService;
13 import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
16 * Master sends this message to the own actor to set necessary parameters.
18 public class CreateInitialMasterActorData {
19 private final DOMDataBroker deviceDataBroker;
20 private final List<SourceIdentifier> allSourceIdentifiers;
21 private final DOMRpcService deviceRpc;
23 public CreateInitialMasterActorData(final DOMDataBroker deviceDataBroker,
24 final List<SourceIdentifier> allSourceIdentifiers,
25 final DOMRpcService deviceRpc) {
26 this.deviceDataBroker = deviceDataBroker;
27 this.allSourceIdentifiers = allSourceIdentifiers;
28 this.deviceRpc = deviceRpc;
31 public DOMDataBroker getDeviceDataBroker() {
32 return deviceDataBroker;
35 public List<SourceIdentifier> getSourceIndentifiers() {
36 return allSourceIdentifiers;
39 public DOMRpcService getDeviceRpc() {