2 * Copyright (c) 2014 Cisco Systems, Inc. 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
8 package org.opendaylight.controller.netconf.client;
10 import io.netty.util.concurrent.Future;
11 import org.opendaylight.controller.netconf.client.conf.NetconfClientConfiguration;
12 import org.opendaylight.controller.netconf.client.conf.NetconfReconnectingClientConfiguration;
14 public interface NetconfClientDispatcher {
18 * Create netconf client. Network communication has to be set up based on network protocol specified in clientConfiguration
20 * @param clientConfiguration
21 * @return netconf client based on provided configuration
23 Future<NetconfClientSession> createClient(NetconfClientConfiguration clientConfiguration);
25 Future<Void> createReconnectingClient(NetconfReconnectingClientConfiguration clientConfiguration);