Hide SshIoSession
[netconf.git] / transport / transport-ssh / src / main / java / org / opendaylight / netconf / transport / ssh / SshIoSession.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.ChannelHandler;
11 import java.net.SocketAddress;
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.NettyIoSession;
15
16 final class SshIoSession extends NettyIoSession {
17     SshIoSession(final NettyIoService service, final IoHandler handler, final SocketAddress acceptanceAddress) {
18         super(service, handler, acceptanceAddress);
19     }
20
21     ChannelHandler getHandler() {
22         return adapter;
23     }
24 }