Migrate netconf to MD-SAL APIs
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / impl / tx / ProxyReadTransaction.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies s.r.o. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.netconf.topology.singleton.impl.tx;
9
10 import akka.actor.ActorRef;
11 import akka.util.Timeout;
12 import org.opendaylight.netconf.sal.connect.util.RemoteDeviceId;
13 import scala.concurrent.ExecutionContext;
14 import scala.concurrent.Future;
15
16 /**
17  * ProxyReadTransaction uses provided {@link ActorRef} to delegate method calls to master
18  * {@link org.opendaylight.netconf.topology.singleton.impl.actors.ReadTransactionActor}.
19  */
20 public class ProxyReadTransaction extends ProxyReadWriteTransaction {
21
22     public ProxyReadTransaction(final RemoteDeviceId id, final Future<Object> masterTxActorFuture,
23             final ExecutionContext executionContext, final Timeout askTimeout) {
24         super(id, masterTxActorFuture, executionContext, askTimeout);
25     }
26 }