75a326dc5d44785ba13ab7b09f14df88d876caa2
[netconf.git] / transport / transport-ssh / src / main / java / org / opendaylight / netconf / transport / ssh / SshIoService.java
1 /*
2  * Copyright (c) 2023 PANTHEON.tech s.r.o. 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.transport.ssh;
9
10 import io.netty.channel.group.ChannelGroup;
11 import org.opendaylight.netconf.shaded.sshd.common.FactoryManager;
12 import org.opendaylight.netconf.shaded.sshd.common.io.IoHandler;
13 import org.opendaylight.netconf.shaded.sshd.netty.NettyIoService;
14 import org.opendaylight.netconf.shaded.sshd.netty.NettyIoServiceFactory;
15
16 public class SshIoService extends NettyIoService {
17
18     protected SshIoService(FactoryManager factoryManager, final ChannelGroup group, IoHandler handler) {
19         super(new NettyIoServiceFactory(factoryManager, null), handler);
20         channelGroup = group;
21     }
22 }