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.util.List;
12 import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
13 import org.opendaylight.controller.md.sal.dom.api.DOMRpcService;
14 import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
17 * Master sends this message to the own actor to set necessary parameters.
19 public class CreateInitialMasterActorData {
20 private final DOMDataBroker deviceDataBroker;
21 private final List<SourceIdentifier> allSourceIdentifiers;
22 private final DOMRpcService deviceRpc;
24 public CreateInitialMasterActorData(final DOMDataBroker deviceDataBroker,
25 final List<SourceIdentifier> allSourceIdentifiers,
26 final DOMRpcService deviceRpc) {
27 this.deviceDataBroker = deviceDataBroker;
28 this.allSourceIdentifiers = allSourceIdentifiers;
29 this.deviceRpc = deviceRpc;
32 public DOMDataBroker getDeviceDataBroker() {
33 return deviceDataBroker;
36 public List<SourceIdentifier> getSourceIndentifiers() {
37 return allSourceIdentifiers;
40 public DOMRpcService getDeviceRpc() {