Merge "Fixed typo in SnapshotBackedWriteTransaction class"
[controller.git] / opendaylight / netconf / netconf-client / src / main / java / org / opendaylight / controller / netconf / client / NetconfClientDispatcher.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. 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.controller.netconf.client;
9
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;
13
14 public interface NetconfClientDispatcher {
15
16     /**
17      *
18      * Create netconf client. Network communication has to be set up based on network protocol specified in clientConfiguration
19      *
20      * @param clientConfiguration
21      * @return netconf client based on provided configuration
22      */
23     Future<NetconfClientSession> createClient(NetconfClientConfiguration clientConfiguration);
24
25     Future<Void> createReconnectingClient(NetconfReconnectingClientConfiguration clientConfiguration);
26 }