Clean up NetconfClientConfiguration
[netconf.git] / netconf / netconf-netty-util / src / main / java / org / opendaylight / netconf / nettyutil / handler / ssh / client / NetconfSshClient.java
1 /*
2  * Copyright (c) 2019 PANTHEON.tech, s.r.o. 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.netconf.nettyutil.handler.ssh.client;
9
10 import org.opendaylight.netconf.shaded.sshd.client.SshClient;
11
12 /**
13  * An extension to {@link SshClient} which uses {@link NetconfSessionFactory} to create sessions (leading towards
14  * {@link NetconfClientSessionImpl}.
15  */
16 @Deprecated(since = "7.0.0", forRemoval = true)
17 public class NetconfSshClient extends SshClient {
18     @Override
19     protected NetconfSessionFactory createSessionFactory() {
20         return new NetconfSessionFactory(this);
21     }
22 }