Add interface SslHandlerFactory
[netconf.git] / netconf / netconf-client / src / main / java / org / opendaylight / netconf / client / SslHandlerFactory.java
1 /*
2  * Copyright (c) 2018 ZTE Corporation. 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.client;
9
10 import io.netty.handler.ssl.SslHandler;
11
12 public interface SslHandlerFactory {
13     /**
14      * This factory is used by the TLS client to create SslHandler that will be added
15      * into the channel pipeline when the channel is active.
16      */
17     SslHandler createSslHandler();
18 }