* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.netconf.topology.singleton.messages;
-import java.io.Serializable;
import java.util.List;
-import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
+import org.opendaylight.mdsal.dom.api.DOMActionService;
+import org.opendaylight.mdsal.dom.api.DOMDataBroker;
+import org.opendaylight.mdsal.dom.api.DOMRpcService;
+import org.opendaylight.netconf.dom.api.NetconfDataTreeService;
import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
/**
* Master sends this message to the own actor to set necessary parameters.
*/
-public class CreateInitialMasterActorData implements Serializable {
- private static final long serialVersionUID = 1L;
-
+public class CreateInitialMasterActorData {
private final DOMDataBroker deviceDataBroker;
+ private final NetconfDataTreeService netconfService;
private final List<SourceIdentifier> allSourceIdentifiers;
+ private final DOMRpcService deviceRpc;
+ private final DOMActionService deviceAction;
public CreateInitialMasterActorData(final DOMDataBroker deviceDataBroker,
- final List<SourceIdentifier> allSourceIdentifiers) {
+ final NetconfDataTreeService netconfService,
+ final List<SourceIdentifier> allSourceIdentifiers,
+ final DOMRpcService deviceRpc,final DOMActionService deviceAction) {
this.deviceDataBroker = deviceDataBroker;
+ this.netconfService = netconfService;
this.allSourceIdentifiers = allSourceIdentifiers;
+ this.deviceRpc = deviceRpc;
+ this.deviceAction = deviceAction;
}
public DOMDataBroker getDeviceDataBroker() {
return deviceDataBroker;
}
+ public NetconfDataTreeService getNetconfDataTreeService() {
+ return netconfService;
+ }
+
public List<SourceIdentifier> getSourceIndentifiers() {
return allSourceIdentifiers;
}
+
+ public DOMRpcService getDeviceRpc() {
+ return deviceRpc;
+ }
+
+ public DOMActionService getDeviceAction() {
+ return deviceAction;
+ }
}