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.messages;
11 import akka.util.Timeout;
12 import org.opendaylight.netconf.sal.connect.util.RemoteDeviceId;
13 import org.opendaylight.netconf.topology.singleton.impl.utils.NetconfTopologySetup;
14 import org.opendaylight.yangtools.yang.model.repo.api.SchemaRepository;
15 import org.opendaylight.yangtools.yang.model.repo.spi.SchemaSourceRegistry;
17 public class RefreshSlaveActor {
19 private final SchemaRepository schemaRepository;
20 private final RemoteDeviceId id;
21 private final SchemaSourceRegistry schemaRegistry;
22 private final NetconfTopologySetup setup;
23 private final Timeout actorResponseWaitTime;
25 public RefreshSlaveActor(final NetconfTopologySetup setup, final RemoteDeviceId id,
26 final SchemaSourceRegistry schemaRegistry, final SchemaRepository schemaRepository,
27 final Timeout actorResponseWaitTime) {
30 this.schemaRegistry = schemaRegistry;
31 this.schemaRepository = schemaRepository;
32 this.actorResponseWaitTime = actorResponseWaitTime;
35 public Timeout getActorResponseWaitTime() {
36 return actorResponseWaitTime;
39 public SchemaRepository getSchemaRepository() {
40 return schemaRepository;
43 public RemoteDeviceId getId() {
47 public SchemaSourceRegistry getSchemaRegistry() {
48 return schemaRegistry;
51 public NetconfTopologySetup getSetup() {