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.netconf.client;
10 import io.netty.util.concurrent.Future;
11 import org.opendaylight.netconf.client.conf.NetconfClientConfiguration;
12 import org.opendaylight.netconf.client.conf.NetconfReconnectingClientConfiguration;
13 import org.opendaylight.netconf.nettyutil.ReconnectFuture;
15 public interface NetconfClientDispatcher {
18 * Create netconf client. Network communication has to be set up based on network protocol specified in
21 * @param clientConfiguration Configuration of client
22 * @return netconf client based on provided configuration
24 Future<NetconfClientSession> createClient(NetconfClientConfiguration clientConfiguration);
26 ReconnectFuture createReconnectingClient(NetconfReconnectingClientConfiguration clientConfiguration);