2 * Copyright (c) 2017 Pantheon Technologies s.r.o. 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.impl.tx;
11 import akka.actor.ActorRef;
12 import akka.util.Timeout;
13 import org.opendaylight.controller.md.sal.dom.api.DOMDataReadOnlyTransaction;
14 import org.opendaylight.netconf.sal.connect.util.RemoteDeviceId;
15 import scala.concurrent.ExecutionContext;
16 import scala.concurrent.Future;
19 * ProxyReadTransaction uses provided {@link ActorRef} to delegate method calls to master
20 * {@link org.opendaylight.netconf.topology.singleton.impl.actors.ReadTransactionActor}.
22 public class ProxyReadTransaction extends ProxyReadWriteTransaction implements DOMDataReadOnlyTransaction {
24 public ProxyReadTransaction(final RemoteDeviceId id, final Future<Object> masterTxActorFuture,
25 final ExecutionContext executionContext, final Timeout askTimeout) {
26 super(id, masterTxActorFuture, executionContext, askTimeout);