Hide SshIoService
[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 final class SshIoService extends NettyIoService {
17     SshIoService(final FactoryManager factoryManager, final ChannelGroup group, final IoHandler handler) {
18         super(new NettyIoServiceFactory(factoryManager, null), handler);
19         channelGroup = group;
20     }
21 }