/* * Copyright (c) 2017 Pantheon Technologies s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * 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.impl.tx; import akka.actor.ActorRef; import akka.util.Timeout; import org.opendaylight.controller.md.sal.dom.api.DOMDataReadOnlyTransaction; import org.opendaylight.netconf.sal.connect.util.RemoteDeviceId; import scala.concurrent.ExecutionContext; import scala.concurrent.Future; /** * ProxyReadTransaction uses provided {@link ActorRef} to delegate method calls to master * {@link org.opendaylight.netconf.topology.singleton.impl.actors.ReadTransactionActor}. */ public class ProxyReadTransaction extends ProxyReadWriteTransaction implements DOMDataReadOnlyTransaction { public ProxyReadTransaction(final RemoteDeviceId id, final Future masterTxActorFuture, final ExecutionContext executionContext, final Timeout askTimeout) { super(id, masterTxActorFuture, executionContext, askTimeout); } @Override public void close() { // noop } }